#04850E#04850E
#04850E is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.177 H 143.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #04850E |
|---|---|
| RGB | rgb(4, 133, 14) |
| HSL | hsl(125, 94%, 27%) |
| HSV | hsv(125, 97%, 52%) |
| CMYK | cmyk(97%, 0%, 89.5%, 47.8%) |
| CIE-LAB | lab(48.05, -52.33, 48.61) |
| CIE-LCH | lch(48.05, 71.42, 137.11°) |
| OKLab | oklab(53.52% -0.1417 0.1067) |
| OKLCH | oklch(53.52% 0.177 143) |
| XYZ | xyz(8.5163, 16.8315, 3.2153) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green
#008000
ΔE00 1.87
Forestgreen (CSS)
#228B22
ΔE00 2.78
Tree Green
#2A7E19
ΔE00 3.02
Emerald Green
#028F1E
ΔE00 3.65
Dark Grass Green
#388004
ΔE00 4.01
True Green
#089404
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#04850E #85047B
analogous
#3B8504 #04850E #04854F
triadic
#04850E #0E0485 #850E04
tetradic
#04850E #043B85 #85047B #854F04
square
#04850E #043B85 #85047B #854F04
split-complementary
#04850E #4F0485 #85043B
monochromatic
#011E03 #024A08 #04850E #06C014 #0CF81E
Accessibility & contrast
On white
4.81
#04850E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#04850E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #04850E
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##04850E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##04850E | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#008170
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #04850e; /* rgb */ color: rgb(4, 133, 14); /* oklch */ color: oklch(53.5% 0.177 143.0);
Tailwind
colors: {
custom: {
50: '#68aa5b',
500: '#04850e',
950: '#000000',
},
}SCSS
$custom: #04850e; $custom-light: #68aa5b; $custom-dark: #000000;
JSON
{
"hex": "#04850e",
"rgb": {
"r": 4,
"g": 133,
"b": 14
},
"hsl": {
"h": 124.651,
"s": 94.161,
"l": 26.863
},
"oklch": {
"l": 0.53517,
"c": 0.1774,
"h": 143
},
"luminance": 0.16833
}Semantic roles & 50–950 ramp
primary
#04850E
secondary
#BE27B2
accent
#29EEFF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#081004
muted
#7A7F79