#727D1C#727D1C
#727D1C is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.117 H 116.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #727D1C |
|---|---|
| RGB | rgb(114, 125, 28) |
| HSL | hsl(67, 63%, 30%) |
| HSV | hsv(67, 78%, 49%) |
| CMYK | cmyk(8.8%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(49.89, -16.96, 47.83) |
| CIE-LCH | lch(49.89, 50.75, 109.52°) |
| OKLab | oklab(56.22% -0.0515 0.1053) |
| OKLCH | oklch(56.22% 0.117 116) |
| XYZ | xyz(14.4830, 18.3287, 3.8732) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.77
Poop Green
#6F7C00
ΔE00 2.02
Shit Green
#758000
ΔE00 2.61
Olive Green
#677A04
ΔE00 2.84
Olive (survey)
#6E750E
ΔE00 3.14
Swamp Green
#748500
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727D1C #271C7D
analogous
#7D571C #727D1C #427D1C
triadic
#727D1C #1C727D #7D1C72
tetradic
#727D1C #1C7D57 #271C7D #7D1C42
square
#727D1C #1C7D57 #271C7D #7D1C42
split-complementary
#727D1C #1C427D #571C7D
monochromatic
#171906 #444B11 #727D1C #A0AF27 #C3D43F
Accessibility & contrast
On white
4.50
#727D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#727D1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727D1C
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727D1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727D1C | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#7A756B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #727d1c; /* rgb */ color: rgb(114, 125, 28); /* oklch */ color: oklch(56.2% 0.117 116.0);
Tailwind
colors: {
custom: {
50: '#9ea261',
500: '#727d1c',
950: '#000000',
},
}SCSS
$custom: #727d1c; $custom-light: #9ea261; $custom-dark: #000000;
JSON
{
"hex": "#727d1c",
"rgb": {
"r": 114,
"g": 125,
"b": 28
},
"hsl": {
"h": 66.804,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.56223,
"c": 0.11724,
"h": 116
},
"luminance": 0.18328
}Semantic roles & 50–950 ramp
primary
#727D1C
secondary
#5044B1
accent
#41E654
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79