#727F18#727F18
#727F18 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.7% C 0.122 H 117.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #727F18 |
|---|---|
| RGB | rgb(114, 127, 24) |
| HSL | hsl(68, 68%, 30%) |
| HSV | hsv(68, 81%, 50%) |
| CMYK | cmyk(10.2%, 0%, 81.1%, 50.2%) |
| CIE-LAB | lab(50.48, -18.19, 49.70) |
| CIE-LCH | lch(50.48, 52.93, 110.10°) |
| OKLab | oklab(56.69% -0.0552 0.1086) |
| OKLCH | oklch(56.69% 0.122 117) |
| XYZ | xyz(14.6941, 18.8223, 3.7230) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 1.84
Shit Green
#758000
ΔE00 2.03
Murky Green
#6C7A0E
ΔE00 2.06
Swamp Green
#748500
ΔE00 2.84
Olive Green
#677A04
ΔE00 2.85
Olive (survey)
#6E750E
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727F18 #25187F
analogous
#7F5918 #727F18 #3E7F18
triadic
#727F18 #18727F #7F1872
tetradic
#727F18 #187F59 #25187F #7F183E
square
#727F18 #187F59 #25187F #7F183E
split-complementary
#727F18 #183E7F #59187F
monochromatic
#171A05 #444C0E #727F18 #A0B222 #C5D938
Accessibility & contrast
On white
4.41
#727F18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#727F18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727F18
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727F18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727F18 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#7A776C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #727f18; /* rgb */ color: rgb(114, 127, 24); /* oklch */ color: oklch(56.7% 0.122 117.0);
Tailwind
colors: {
custom: {
50: '#9ea45f',
500: '#727f18',
950: '#000000',
},
}SCSS
$custom: #727f18; $custom-light: #9ea45f; $custom-dark: #000000;
JSON
{
"hex": "#727f18",
"rgb": {
"r": 114,
"g": 127,
"b": 24
},
"hsl": {
"h": 67.573,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.56688,
"c": 0.12179,
"h": 117
},
"luminance": 0.18822
}Semantic roles & 50–950 ramp
primary
#727F18
secondary
#4E3FB3
accent
#3DEB53
background
#FAFAF5
surface
#F3F3EA
border
#CDCDC6
text
#0F0F05
muted
#7F7F79