#727D2F#727D2F
#727D2F is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.4% C 0.103 H 116.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #727D2F |
|---|---|
| RGB | rgb(114, 125, 47) |
| HSL | hsl(68, 45%, 34%) |
| HSV | hsv(68, 62%, 49%) |
| CMYK | cmyk(8.8%, 0%, 62.4%, 51%) |
| CIE-LAB | lab(50.04, -15.73, 40.06) |
| CIE-LCH | lch(50.04, 43.03, 111.44°) |
| OKLab | oklab(56.39% -0.0461 0.0921) |
| OKLCH | oklch(56.39% 0.103 116.6) |
| XYZ | xyz(14.7864, 18.4501, 5.4710) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.96
Dirty Green
#667E2C
ΔE00 3.39
Murky Green
#6C7A0E
ΔE00 3.80
Khaki Green
#728639
ΔE00 3.82
Swamp
#698339
ΔE00 4.49
Muddy Green
#657432
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727D2F #3A2F7D
analogous
#7D612F #727D2F #4B7D2F
triadic
#727D2F #2F727D #7D2F72
tetradic
#727D2F #2F7D61 #3A2F7D #7D2F4B
square
#727D2F #2F7D61 #3A2F7D #7D2F4B
split-complementary
#727D2F #2F4B7D #612F7D
monochromatic
#21240E #49511E #727D2F #9BA940 #B6C462
Accessibility & contrast
On white
4.48
#727D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#727D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727D2F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727D2F | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#79766C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #727d2f; /* rgb */ color: rgb(114, 125, 47); /* oklch */ color: oklch(56.4% 0.103 116.6);
Tailwind
colors: {
custom: {
50: '#9da26b',
500: '#727d2f',
950: '#000000',
},
}SCSS
$custom: #727d2f; $custom-light: #9da26b; $custom-dark: #000000;
JSON
{
"hex": "#727d2f",
"rgb": {
"r": 114,
"g": 125,
"b": 47
},
"hsl": {
"h": 68.462,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.56386,
"c": 0.10298,
"h": 116.6
},
"luminance": 0.1845
}Semantic roles & 50–950 ramp
primary
#727D2F
secondary
#685DAB
accent
#53D565
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0F07
muted
#7E7E7A