#537F12#537F12
#537F12 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.4% C 0.140 H 130.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #537F12 |
|---|---|
| RGB | rgb(83, 127, 18) |
| HSL | hsl(84, 75%, 28%) |
| HSV | hsv(84, 86%, 50%) |
| CMYK | cmyk(34.6%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(48.34, -31.70, 48.75) |
| CIE-LCH | lch(48.34, 58.15, 123.04°) |
| OKLab | oklab(54.4% -0.0906 0.1065) |
| OKLCH | oklch(54.4% 0.14 130.4) |
| XYZ | xyz(11.2658, 17.0610, 3.2717) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.72
Dark Grass Green
#388004
ΔE00 4.09
Dirty Green
#667E2C
ΔE00 4.46
Sap Green
#5C8B15
ΔE00 4.50
Mossy Green
#638B27
ΔE00 4.96
Swamp
#698339
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#537F12 #3E127F
analogous
#7F7412 #537F12 #1D7F12
triadic
#537F12 #12537F #7F1253
tetradic
#537F12 #127F74 #3E127F #7F121D
square
#537F12 #127F74 #3E127F #7F121D
split-complementary
#537F12 #121D7F #74127F
monochromatic
#121B04 #30490A #537F12 #76B51A #97E12B
Accessibility & contrast
On white
4.76
#537F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#537F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #537F12
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##537F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##537F12 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#55796C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #537f12; /* rgb */ color: rgb(83, 127, 18); /* oklch */ color: oklch(54.4% 0.140 130.4);
Tailwind
colors: {
custom: {
50: '#88a45c',
500: '#537f12',
950: '#000000',
},
}SCSS
$custom: #537f12; $custom-light: #88a45c; $custom-dark: #000000;
JSON
{
"hex": "#537f12",
"rgb": {
"r": 83,
"g": 127,
"b": 18
},
"hsl": {
"h": 84.22,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.54399,
"c": 0.13981,
"h": 130.4
},
"luminance": 0.17061
}Semantic roles & 50–950 ramp
primary
#537F12
secondary
#6A38B5
accent
#36F282
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79