#727E12#727E12
#727E12 is a mid, vivid yellow. Relative luminance 0.185; OKLCH L 56.4% C 0.123 H 116.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #727E12 |
|---|---|
| RGB | rgb(114, 126, 18) |
| HSL | hsl(67, 75%, 28%) |
| HSV | hsv(67, 86%, 49%) |
| CMYK | cmyk(9.5%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(50.15, -17.90, 51.15) |
| CIE-LCH | lch(50.15, 54.19, 109.28°) |
| OKLab | oklab(56.41% -0.0548 0.1106) |
| OKLCH | oklch(56.41% 0.123 116.4) |
| XYZ | xyz(14.5099, 18.5430, 3.3869) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 1.26
Shit Green
#758000
ΔE00 1.62
Murky Green
#6C7A0E
ΔE00 1.80
Olive Green
#677A04
ΔE00 2.70
Swamp Green
#748500
ΔE00 2.89
Olive (survey)
#6E750E
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727E12 #1E127E
analogous
#7E5412 #727E12 #3C7E12
triadic
#727E12 #12727E #7E1272
tetradic
#727E12 #127E54 #1E127E #7E123C
square
#727E12 #127E54 #1E127E #7E123C
split-complementary
#727E12 #123C7E #54127E
monochromatic
#181B04 #42480A #727E12 #A2B41A #CCE12A
Accessibility & contrast
On white
4.46
#727E12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#727E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727E12
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727E12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727E12 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#7A766B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #727e12; /* rgb */ color: rgb(114, 126, 18); /* oklch */ color: oklch(56.4% 0.123 116.4);
Tailwind
colors: {
custom: {
50: '#9ea35d',
500: '#727e12',
950: '#000000',
},
}SCSS
$custom: #727e12; $custom-light: #9ea35d; $custom-dark: #000000;
JSON
{
"hex": "#727e12",
"rgb": {
"r": 114,
"g": 126,
"b": 18
},
"hsl": {
"h": 66.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.56414,
"c": 0.12341,
"h": 116.4
},
"luminance": 0.18543
}Semantic roles & 50–950 ramp
primary
#727E12
secondary
#4638B4
accent
#36F24B
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F05
muted
#7F7F79