#538C2F#538C2F
#538C2F is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.139 H 135.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #538C2F |
|---|---|
| RGB | rgb(83, 140, 47) |
| HSL | hsl(97, 50%, 37%) |
| HSV | hsv(97, 66%, 55%) |
| CMYK | cmyk(40.7%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(52.73, -35.64, 42.42) |
| CIE-LCH | lch(52.73, 55.40, 130.04°) |
| OKLab | oklab(58.05% -0.0991 0.0976) |
| OKLCH | oklch(58.05% 0.139 135.4) |
| XYZ | xyz(13.4581, 20.7997, 5.9944) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green (survey)
#658B38
ΔE00 3.30
Fern Green
#548D44
ΔE00 3.55
Mossy Green
#638B27
ΔE00 3.63
Sap Green
#5C8B15
ΔE00 3.99
Forestgreen (CSS)
#228B22
ΔE00 5.27
Olivedrab
#6B8E23
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#538C2F #682F8C
analogous
#828C2F #538C2F #2F8C39
triadic
#538C2F #2F538C #8C2F53
tetradic
#538C2F #2F828C #682F8C #8C392F
square
#538C2F #2F828C #682F8C #8C392F
split-complementary
#538C2F #392F8C #8C2F82
monochromatic
#1D3010 #385E20 #538C2F #6EBA3E #8FCD69
Accessibility & contrast
On white
4.07
#538C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#538C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #538C2F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##538C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##538C2F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #538c2f; /* rgb */ color: rgb(83, 140, 47); /* oklch */ color: oklch(58.0% 0.139 135.4);
Tailwind
colors: {
custom: {
50: '#88ae6c',
500: '#538c2f',
950: '#000000',
},
}SCSS
$custom: #538c2f; $custom-light: #88ae6c; $custom-dark: #000000;
JSON
{
"hex": "#538c2f",
"rgb": {
"r": 83,
"g": 140,
"b": 47
},
"hsl": {
"h": 96.774,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.58048,
"c": 0.13908,
"h": 135.4
},
"luminance": 0.208
}Semantic roles & 50–950 ramp
primary
#538C2F
secondary
#9463B4
accent
#4FD9A4
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C1007
muted
#7D7F7A