#727F2A#727F2A
#727F2A is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.110 H 117.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #727F2A |
|---|---|
| RGB | rgb(114, 127, 42) |
| HSL | hsl(69, 50%, 33%) |
| HSV | hsv(69, 67%, 50%) |
| CMYK | cmyk(10.2%, 0%, 66.9%, 50.2%) |
| CIE-LAB | lab(50.60, -17.18, 42.94) |
| CIE-LCH | lch(50.60, 46.25, 111.80°) |
| OKLab | oklab(56.82% -0.0507 0.0975) |
| OKLCH | oklch(56.82% 0.11 117.5) |
| XYZ | xyz(14.9470, 18.9235, 5.0552) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Murky Green
#6C7A0E
ΔE00 3.28
Dirty Green
#667E2C
ΔE00 3.30
Khaki Green
#728639
ΔE00 3.50
Poop Green
#6F7C00
ΔE00 3.85
Olive Green
#677A04
ΔE00 3.97
Olive Drab
#6F7632
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#727F2A #372A7F
analogous
#7F612A #727F2A #487F2A
triadic
#727F2A #2A727F #7F2A72
tetradic
#727F2A #2A7F61 #372A7F #7F2A48
square
#727F2A #2A7F61 #372A7F #7F2A48
split-complementary
#727F2A #2A487F #612A7F
monochromatic
#1F230C #49511B #727F2A #9BAD39 #B8C95B
Accessibility & contrast
On white
4.39
#727F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#727F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #727F2A
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##727F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##727F2A | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88781F
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#79786E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #727f2a; /* rgb */ color: rgb(114, 127, 42); /* oklch */ color: oklch(56.8% 0.110 117.5);
Tailwind
colors: {
custom: {
50: '#9da468',
500: '#727f2a',
950: '#000000',
},
}SCSS
$custom: #727f2a; $custom-light: #9da468; $custom-dark: #000000;
JSON
{
"hex": "#727f2a",
"rgb": {
"r": 114,
"g": 127,
"b": 42
},
"hsl": {
"h": 69.176,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.56821,
"c": 0.10985,
"h": 117.5
},
"luminance": 0.18923
}Semantic roles & 50–950 ramp
primary
#727F2A
secondary
#6457AE
accent
#4EDA63
background
#F9FAF6
surface
#F2F3EB
border
#CCCDC6
text
#0F0F06
muted
#7E7F7A