#4E7F13#4E7F13
#4E7F13 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.142 H 132.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4E7F13 |
|---|---|
| RGB | rgb(78, 127, 19) |
| HSL | hsl(87, 74%, 29%) |
| HSV | hsv(87, 85%, 50%) |
| CMYK | cmyk(38.6%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(48.06, -33.60, 48.13) |
| CIE-LCH | lch(48.06, 58.69, 124.92°) |
| OKLab | oklab(54.1% -0.0953 0.1055) |
| OKLCH | oklch(54.1% 0.142 132.1) |
| XYZ | xyz(10.8487, 16.8450, 3.2958) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.42
Dark Grass Green
#388004
ΔE00 3.16
Sap Green
#5C8B15
ΔE00 4.86
Dirty Green
#667E2C
ΔE00 5.16
Tree Green
#2A7E19
ΔE00 5.33
Mossy Green
#638B27
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E7F13 #44137F
analogous
#7F7A13 #4E7F13 #187F13
triadic
#4E7F13 #134E7F #7F134E
tetradic
#4E7F13 #137F7A #44137F #7F1318
square
#4E7F13 #137F7A #44137F #7F1318
split-complementary
#4E7F13 #13187F #7A137F
monochromatic
#101B04 #2D4A0B #4E7F13 #6FB41B #8EE02D
Accessibility & contrast
On white
4.81
#4E7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#4E7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E7F13
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E7F13 | 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)
#857400
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4e7f13; /* rgb */ color: rgb(78, 127, 19); /* oklch */ color: oklch(54.1% 0.142 132.1);
Tailwind
colors: {
custom: {
50: '#85a45c',
500: '#4e7f13',
950: '#000000',
},
}SCSS
$custom: #4e7f13; $custom-light: #85a45c; $custom-dark: #000000;
JSON
{
"hex": "#4e7f13",
"rgb": {
"r": 78,
"g": 127,
"b": 19
},
"hsl": {
"h": 87.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.54104,
"c": 0.14214,
"h": 132.1
},
"luminance": 0.16845
}Semantic roles & 50–950 ramp
primary
#4E7F13
secondary
#7139B4
accent
#37F18B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79