#4B7D1C#4B7D1C
#4B7D1C is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.137 H 133.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4B7D1C |
|---|---|
| RGB | rgb(75, 125, 28) |
| HSL | hsl(91, 63%, 30%) |
| HSV | hsv(91, 78%, 49%) |
| CMYK | cmyk(40%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(47.30, -33.34, 44.44) |
| CIE-LCH | lch(47.30, 55.56, 126.87°) |
| OKLab | oklab(53.45% -0.0937 0.0993) |
| OKLCH | oklch(53.45% 0.137 133.4) |
| XYZ | xyz(10.4447, 16.2464, 3.6839) |
| Luminance | 0.1625 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.08
Avocado
#568203
ΔE00 3.89
Tree Green
#2A7E19
ΔE00 4.44
Dirty Green
#667E2C
ΔE00 5.44
Sap Green
#5C8B15
ΔE00 6.05
Green
#008000
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B7D1C #4E1C7D
analogous
#7B7D1C #4B7D1C #1C7D1E
triadic
#4B7D1C #1C4B7D #7D1C4B
tetradic
#4B7D1C #1C7B7D #4E1C7D #7D1E1C
square
#4B7D1C #1C7B7D #4E1C7D #7D1E1C
split-complementary
#4B7D1C #1E1C7D #7D1C7B
monochromatic
#0F1906 #2D4B11 #4B7D1C #69AF27 #87D43F
Accessibility & contrast
On white
4.94
#4B7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#4B7D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B7D1C
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B7D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B7D1C | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827307
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#4B786B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4b7d1c; /* rgb */ color: rgb(75, 125, 28); /* oklch */ color: oklch(53.4% 0.137 133.4);
Tailwind
colors: {
custom: {
50: '#82a360',
500: '#4b7d1c',
950: '#000000',
},
}SCSS
$custom: #4b7d1c; $custom-light: #82a360; $custom-dark: #000000;
JSON
{
"hex": "#4b7d1c",
"rgb": {
"r": 75,
"g": 125,
"b": 28
},
"hsl": {
"h": 90.928,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.53448,
"c": 0.13653,
"h": 133.4
},
"luminance": 0.16247
}Semantic roles & 50–950 ramp
primary
#4B7D1C
secondary
#7C44B1
accent
#41E696
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79