#255912#255912
#255912 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.115 H 138.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #255912 |
|---|---|
| RGB | rgb(37, 89, 18) |
| HSL | hsl(104, 66%, 21%) |
| HSV | hsv(104, 80%, 35%) |
| CMYK | cmyk(58.4%, 0%, 79.8%, 65.1%) |
| CIE-LAB | lab(33.10, -31.49, 33.69) |
| CIE-LCH | lch(33.10, 46.11, 133.07°) |
| OKLab | oklab(41.28% -0.0868 0.0758) |
| OKLCH | oklch(41.28% 0.115 138.9) |
| XYZ | xyz(4.4443, 7.5814, 1.8013) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest
#0B5509
ΔE00 2.71
Deep Green
#02590F
ΔE00 3.09
Forest Green
#2D5A27
ΔE00 3.90
Navy Green
#35530A
ΔE00 4.47
Darkgreen
#006400
ΔE00 5.06
Bottle Green
#044A05
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#255912 #461259
analogous
#485912 #255912 #125922
triadic
#255912 #122559 #591225
tetradic
#255912 #124859 #461259 #592212
square
#255912 #124859 #461259 #592212
split-complementary
#255912 #221259 #591248
monochromatic
#0B1905 #102608 #255912 #3A8C1C #4FBF27
Accessibility & contrast
On white
8.35
#255912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#255912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #255912
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##255912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##255912 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5105
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#20564B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #255912; /* rgb */ color: rgb(37, 89, 18); /* oklch */ color: oklch(41.3% 0.115 138.9);
Tailwind
colors: {
custom: {
50: '#668855',
500: '#255912',
950: '#000000',
},
}SCSS
$custom: #255912; $custom-light: #668855; $custom-dark: #000000;
JSON
{
"hex": "#255912",
"rgb": {
"r": 37,
"g": 89,
"b": 18
},
"hsl": {
"h": 103.944,
"s": 66.355,
"l": 20.98
},
"oklch": {
"l": 0.41279,
"c": 0.11524,
"h": 138.9
},
"luminance": 0.07582
}Semantic roles & 50–950 ramp
primary
#255912
secondary
#793592
accent
#3FE9BC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78