Nearest named color · #28351C
#28351C
Nearest named color: Darkest Forest
#28351C (rgb(40 53 28), hsl(91 31% 16%), oklch(0.31 0.046 131)) is closest to the named color Darkest Forest. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#28351C
oklch(0.31 0.046 131)
Color conversions
- HEX
- #28351c
- RGB
- rgb(40 53 28)
- HSL
- hsl(91 31% 16%)
- HWB
- hwb(91 11% 79%)
- OKLCH
- oklch(0.31 0.046 131)
- OKLab
- oklab(0.31 -0.03 0.034)
- CIE Lab
- lab(20.42 -9.74 13.91)
- LCH
- lch(20.42 16.98 125)
- CMYK
- cmyk(25% 0% 47% 79%)
Tints · Shades · Tones
Tints
- 3A4730
- 4E5944
- 626C59
- 76806F
- 8C9485
- A2A89D
- B8BDB4
- CFD3CD
- E7E9E6
Shades
- 212D17
- 1B2512
- 151D0D
- 0F1508
- 090E05
- 040802
- 020301
- 010100
- 000000
Tones
- 303C25
- 38432F
- 414B39
- 495242
- 52594C
- 5B6156
- 646960
- 6D706B
- 777875
Color harmonies
Complementary +180°
- 28351C
Darkest Forest
- 382941
≈ Spinel Violet
Analogous -30° +30°
- 28351C
Darkest Forest
- 353114
≈ Swamp of Sorrows
- 193729
≈ Cardin Green
Triadic +120° +240°
- 28351C
Darkest Forest
- 1E3247
≈ Crow Black
- 44262A
≈ Nisemurasaki Purple
Split-complementary +150° +210°
- 28351C
Darkest Forest
- 2C2D47
≈ Midnight Masquerade
- 402737
≈ Soft Red
Tetradic +90° +180° +270°
- 28351C
Darkest Forest
- 103540
≈ Firmament Blue
- 382941
≈ Spinel Violet
- 44281E
≈ Night Brown
Contrast & accessibility
Ag
AAAOn white
WCAG 12.99:1 · APCA Lc 99
Ag
FailOn black
WCAG 1.61:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 12.99:1 (AAA) · APCA Lc 99
Contrast pairs
Code snippets
CSS
:root {
--darkest-forest: #28351c;
--darkest-forest-rgb: 40 53 28;
--darkest-forest-oklch: oklch(0.31 0.046 131);
}
.element {
color: var(--darkest-forest);
background-color: hsl(91 31% 16%);
border-color: oklch(0.31 0.046 131);
}Tailwind CSS v4
@theme {
--color-darkest-forest: #28351c;
--color-darkest-forest-50: #f0f8eb;
--color-darkest-forest-100: #e2ebdc;
--color-darkest-forest-200: #cdd9c5;
--color-darkest-forest-300: #aebda5;
--color-darkest-forest-400: #95a488;
--color-darkest-forest-500: #7c8d6d;
--color-darkest-forest-600: #69775d;
--color-darkest-forest-700: #545f4a;
--color-darkest-forest-800: #3d4635;
--color-darkest-forest-900: #2a3024;
--color-darkest-forest-950: #181c13;
}SCSS
$darkest-forest: #28351c;
$darkest-forest-rgb: 40, 53, 28;
$darkest-forest-light: mix(#fff, $darkest-forest, 20%);
$darkest-forest-dark: mix(#000, $darkest-forest, 20%);
.element {
color: $darkest-forest;
box-shadow: 0 0 0 2px rgba($darkest-forest, 0.35);
}