#4D7F13#4D7F13
#4D7F13 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.143 H 132.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7F13 |
|---|---|
| RGB | rgb(77, 127, 19) |
| HSL | hsl(88, 74%, 29%) |
| HSV | hsv(88, 85%, 50%) |
| CMYK | cmyk(39.4%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(48.01, -33.98, 48.06) |
| CIE-LCH | lch(48.01, 58.86, 125.26°) |
| OKLab | oklab(54.05% -0.0962 0.1054) |
| OKLCH | oklch(54.05% 0.143 132.4) |
| XYZ | xyz(10.7674, 16.8031, 3.2920) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.56
Dark Grass Green
#388004
ΔE00 2.99
Sap Green
#5C8B15
ΔE00 4.94
Tree Green
#2A7E19
ΔE00 5.15
Dirty Green
#667E2C
ΔE00 5.31
Mossy Green
#638B27
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7F13 #45137F
analogous
#7F7B13 #4D7F13 #177F13
triadic
#4D7F13 #134D7F #7F134D
tetradic
#4D7F13 #137F7B #45137F #7F1317
square
#4D7F13 #137F7B #45137F #7F1317
split-complementary
#4D7F13 #13177F #7B137F
monochromatic
#101B04 #2D4A0B #4D7F13 #6DB41B #8DE02D
Accessibility & contrast
On white
4.82
#4D7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#4D7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D7F13
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D7F13 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#4E796C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4d7f13; /* rgb */ color: rgb(77, 127, 19); /* oklch */ color: oklch(54.0% 0.143 132.4);
Tailwind
colors: {
custom: {
50: '#84a45c',
500: '#4d7f13',
950: '#000000',
},
}SCSS
$custom: #4d7f13; $custom-light: #84a45c; $custom-dark: #000000;
JSON
{
"hex": "#4d7f13",
"rgb": {
"r": 77,
"g": 127,
"b": 19
},
"hsl": {
"h": 87.778,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.54046,
"c": 0.14269,
"h": 132.4
},
"luminance": 0.16804
}Semantic roles & 50–950 ramp
primary
#4D7F13
secondary
#7239B4
accent
#37F18D
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79