#727D18#727D18
#727D18 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.119 H 116.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #727D18 |
|---|---|
| RGB | rgb(114, 125, 24) |
| HSL | hsl(67, 68%, 29%) |
| HSV | hsv(67, 81%, 49%) |
| CMYK | cmyk(8.8%, 0%, 80.8%, 51%) |
| CIE-LAB | lab(49.87, -17.14, 49.16) |
| CIE-LCH | lch(49.87, 52.06, 109.22°) |
| OKLab | oklab(56.2% -0.0523 0.1074) |
| OKLCH | oklch(56.2% 0.119 116) |
| XYZ | xyz(14.4383, 18.3108, 3.6377) |
| Luminance | 0.1831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 1.62
Murky Green
#6C7A0E
ΔE00 1.63
Shit Green
#758000
ΔE00 2.23
Olive Green
#677A04
ΔE00 2.72
Olive (survey)
#6E750E
ΔE00 3.05
Swamp Green
#748500
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727D18 #23187D
analogous
#7D5618 #727D18 #407D18
triadic
#727D18 #18727D #7D1872
tetradic
#727D18 #187D56 #23187D #7D1840
square
#727D18 #187D56 #23187D #7D1840
split-complementary
#727D18 #18407D #56187D
monochromatic
#171A05 #434A0E #727D18 #A1B022 #C7D937
Accessibility & contrast
On white
4.50
#727D18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#727D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727D18
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727D18 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#7A756A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #727d18; /* rgb */ color: rgb(114, 125, 24); /* oklch */ color: oklch(56.2% 0.119 116.0);
Tailwind
colors: {
custom: {
50: '#9ea25f',
500: '#727d18',
950: '#000000',
},
}SCSS
$custom: #727d18; $custom-light: #9ea25f; $custom-dark: #000000;
JSON
{
"hex": "#727d18",
"rgb": {
"r": 114,
"g": 125,
"b": 24
},
"hsl": {
"h": 66.535,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.56199,
"c": 0.11946,
"h": 116
},
"luminance": 0.18311
}Semantic roles & 50–950 ramp
primary
#727D18
secondary
#4C3FB2
accent
#3DEB50
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79