#4B7D1B#4B7D1B
#4B7D1B is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.137 H 133.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4B7D1B |
|---|---|
| RGB | rgb(75, 125, 27) |
| HSL | hsl(91, 64%, 30%) |
| HSV | hsv(91, 78%, 49%) |
| CMYK | cmyk(40%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(47.29, -33.40, 44.80) |
| CIE-LCH | lch(47.29, 55.88, 126.71°) |
| OKLab | oklab(53.44% -0.094 0.0999) |
| OKLCH | oklch(53.44% 0.137 133.3) |
| XYZ | xyz(10.4329, 16.2417, 3.6220) |
| Luminance | 0.1624 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.05
Avocado
#568203
ΔE00 3.79
Tree Green
#2A7E19
ΔE00 4.48
Dirty Green
#667E2C
ΔE00 5.44
Sap Green
#5C8B15
ΔE00 6.00
Green
#008000
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B7D1B #4D1B7D
analogous
#7C7D1B #4B7D1B #1B7D1C
triadic
#4B7D1B #1B4B7D #7D1B4B
tetradic
#4B7D1B #1B7C7D #4D1B7D #7D1C1B
square
#4B7D1B #1B7C7D #4D1B7D #7D1C1B
split-complementary
#4B7D1B #1C1B7D #7D1B7C
monochromatic
#0F1905 #2D4B10 #4B7D1B #69AF26 #88D53D
Accessibility & contrast
On white
4.94
#4B7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#4B7D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B7D1B
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B7D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B7D1B | 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)
#827305
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#4B786A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4b7d1b; /* rgb */ color: rgb(75, 125, 27); /* oklch */ color: oklch(53.4% 0.137 133.3);
Tailwind
colors: {
custom: {
50: '#82a35f',
500: '#4b7d1b',
950: '#000000',
},
}SCSS
$custom: #4b7d1b; $custom-light: #82a35f; $custom-dark: #000000;
JSON
{
"hex": "#4b7d1b",
"rgb": {
"r": 75,
"g": 125,
"b": 27
},
"hsl": {
"h": 90.612,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.53441,
"c": 0.13714,
"h": 133.3
},
"luminance": 0.16242
}Semantic roles & 50–950 ramp
primary
#4B7D1B
secondary
#7B43B1
accent
#40E796
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79