#538C1C#538C1C
#538C1C is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.152 H 133.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #538C1C |
|---|---|
| RGB | rgb(83, 140, 28) |
| HSL | hsl(91, 67%, 33%) |
| HSV | hsv(91, 80%, 55%) |
| CMYK | cmyk(40.7%, 0%, 80%, 45.1%) |
| CIE-LAB | lab(52.60, -37.04, 49.65) |
| CIE-LCH | lch(52.60, 61.95, 126.72°) |
| OKLab | oklab(57.9% -0.1043 0.11) |
| OKLCH | oklch(57.9% 0.152 133.5) |
| XYZ | xyz(13.1548, 20.6784, 4.3966) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.01
Mossy Green
#638B27
ΔE00 2.83
Avocado
#568203
ΔE00 4.17
Moss Green (survey)
#658B38
ΔE00 4.18
Olivedrab
#6B8E23
ΔE00 4.35
Dark Grass Green
#388004
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#538C1C #551C8C
analogous
#8B8C1C #538C1C #1C8C1D
triadic
#538C1C #1C538C #8C1C53
tetradic
#538C1C #1C8B8C #551C8C #8C1D1C
square
#538C1C #1C8B8C #551C8C #8C1D1C
split-complementary
#538C1C #1D1C8C #8C1C8B
monochromatic
#172608 #355912 #538C1C #71BF26 #90DA48
Accessibility & contrast
On white
4.09
#538C1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#538C1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #538C1C
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##538C1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##538C1C | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#538677
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #538c1c; /* rgb */ color: rgb(83, 140, 28); /* oklch */ color: oklch(57.9% 0.152 133.5);
Tailwind
colors: {
custom: {
50: '#89ae62',
500: '#538c1c',
950: '#000000',
},
}SCSS
$custom: #538c1c; $custom-light: #89ae62; $custom-dark: #000000;
JSON
{
"hex": "#538c1c",
"rgb": {
"r": 83,
"g": 140,
"b": 28
},
"hsl": {
"h": 90.536,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.57895,
"c": 0.15158,
"h": 133.5
},
"luminance": 0.20679
}Semantic roles & 50–950 ramp
primary
#538C1C
secondary
#8348BC
accent
#3EEA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A