#4B7A1A#4B7A1A
#4B7A1A is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.134 H 132.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4B7A1A |
|---|---|
| RGB | rgb(75, 122, 26) |
| HSL | hsl(89, 65%, 29%) |
| HSV | hsv(89, 79%, 48%) |
| CMYK | cmyk(38.5%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(46.30, -32.11, 44.20) |
| CIE-LCH | lch(46.30, 54.63, 125.99°) |
| OKLab | oklab(52.63% -0.0906 0.0984) |
| OKLCH | oklch(52.63% 0.134 132.6) |
| XYZ | xyz(10.0475, 15.4891, 3.4374) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.68
Avocado
#568203
ΔE00 4.36
Tree Green
#2A7E19
ΔE00 4.82
Dirty Green
#667E2C
ΔE00 5.47
Green
#008000
ΔE00 6.66
Swamp
#698339
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B7A1A #491A7A
analogous
#7A791A #4B7A1A #1B7A1A
triadic
#4B7A1A #1A4B7A #7A1A4B
tetradic
#4B7A1A #1A7A79 #491A7A #7A1A1B
square
#4B7A1A #1A7A79 #491A7A #7A1A1B
split-complementary
#4B7A1A #1A1B7A #791A7A
monochromatic
#101905 #2C480F #4B7A1A #6AAC25 #89D539
Accessibility & contrast
On white
5.12
#4B7A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#4B7A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B7A1A
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B7A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B7A1A | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#4C7568
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4b7a1a; /* rgb */ color: rgb(75, 122, 26); /* oklch */ color: oklch(52.6% 0.134 132.6);
Tailwind
colors: {
custom: {
50: '#82a15f',
500: '#4b7a1a',
950: '#000000',
},
}SCSS
$custom: #4b7a1a; $custom-light: #82a15f; $custom-dark: #000000;
JSON
{
"hex": "#4b7a1a",
"rgb": {
"r": 75,
"g": 122,
"b": 26
},
"hsl": {
"h": 89.375,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.52627,
"c": 0.13376,
"h": 132.6
},
"luminance": 0.1549
}Semantic roles & 50–950 ramp
primary
#4B7A1A
secondary
#7741AE
accent
#40E892
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79