#727D1B#727D1B
#727D1B is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.118 H 116.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #727D1B |
|---|---|
| RGB | rgb(114, 125, 27) |
| HSL | hsl(67, 64%, 30%) |
| HSV | hsv(67, 78%, 49%) |
| CMYK | cmyk(8.8%, 0%, 78.4%, 51%) |
| CIE-LAB | lab(49.89, -17.01, 48.17) |
| CIE-LCH | lch(49.89, 51.09, 109.44°) |
| OKLab | oklab(56.22% -0.0517 0.1059) |
| OKLCH | oklch(56.22% 0.118 116) |
| XYZ | xyz(14.4713, 18.3240, 3.8112) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 1.72
Poop Green
#6F7C00
ΔE00 1.91
Shit Green
#758000
ΔE00 2.51
Olive Green
#677A04
ΔE00 2.80
Olive (survey)
#6E750E
ΔE00 3.11
Swamp Green
#748500
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727D1B #261B7D
analogous
#7D571B #727D1B #417D1B
triadic
#727D1B #1B727D #7D1B72
tetradic
#727D1B #1B7D57 #261B7D #7D1B41
square
#727D1B #1B7D57 #261B7D #7D1B41
split-complementary
#727D1B #1B417D #571B7D
monochromatic
#171905 #444B10 #727D1B #A0AF26 #C4D53D
Accessibility & contrast
On white
4.50
#727D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#727D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727D1B
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727D1B | 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)
#867603
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#7A756B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #727d1b; /* rgb */ color: rgb(114, 125, 27); /* oklch */ color: oklch(56.2% 0.118 116.0);
Tailwind
colors: {
custom: {
50: '#9ea260',
500: '#727d1b',
950: '#000000',
},
}SCSS
$custom: #727d1b; $custom-light: #9ea260; $custom-dark: #000000;
JSON
{
"hex": "#727d1b",
"rgb": {
"r": 114,
"g": 125,
"b": 27
},
"hsl": {
"h": 66.735,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.56217,
"c": 0.11782,
"h": 116
},
"luminance": 0.18324
}Semantic roles & 50–950 ramp
primary
#727D1B
secondary
#4F43B1
accent
#40E753
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0F05
muted
#7F7E79