#4B7C1A#4B7C1A
#4B7C1A is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.136 H 133.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4B7C1A |
|---|---|
| RGB | rgb(75, 124, 26) |
| HSL | hsl(90, 65%, 29%) |
| HSV | hsv(90, 79%, 49%) |
| CMYK | cmyk(39.5%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(46.96, -33.01, 44.83) |
| CIE-LCH | lch(46.96, 55.67, 126.37°) |
| OKLab | oklab(53.16% -0.093 0.0998) |
| OKLCH | oklch(53.16% 0.136 133) |
| XYZ | xyz(10.2956, 15.9853, 3.5201) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.21
Avocado
#568203
ΔE00 3.90
Tree Green
#2A7E19
ΔE00 4.59
Dirty Green
#667E2C
ΔE00 5.43
Sap Green
#5C8B15
ΔE00 6.27
Green
#008000
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B7C1A #4B1A7C
analogous
#7C7C1A #4B7C1A #1A7C1A
triadic
#4B7C1A #1A4B7C #7C1A4B
tetradic
#4B7C1A #1A7C7C #4B1A7C #7C1A1A
square
#4B7C1A #1A7C7C #4B1A7C #7C1A1A
split-complementary
#4B7C1A #1A1A7C #7C1A7C
monochromatic
#0F1905 #2C490F #4B7C1A #6AAF25 #88D63B
Accessibility & contrast
On white
5.00
#4B7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#4B7C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B7C1A
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B7C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B7C1A | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817203
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#4B776A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4b7c1a; /* rgb */ color: rgb(75, 124, 26); /* oklch */ color: oklch(53.2% 0.136 133.0);
Tailwind
colors: {
custom: {
50: '#82a25f',
500: '#4b7c1a',
950: '#000000',
},
}SCSS
$custom: #4b7c1a; $custom-light: #82a25f; $custom-dark: #000000;
JSON
{
"hex": "#4b7c1a",
"rgb": {
"r": 75,
"g": 124,
"b": 26
},
"hsl": {
"h": 90,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.53165,
"c": 0.13639,
"h": 133
},
"luminance": 0.15986
}Semantic roles & 50–950 ramp
primary
#4B7C1A
secondary
#7942B0
accent
#40E894
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79