#7F7A15#7F7A15
#7F7A15 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.114 H 106.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7A15 |
|---|---|
| RGB | rgb(127, 122, 21) |
| HSL | hsl(57, 72%, 29%) |
| HSV | hsv(57, 83%, 50%) |
| CMYK | cmyk(0%, 3.9%, 83.5%, 50.2%) |
| CIE-LAB | lab(50.08, -9.63, 50.69) |
| CIE-LCH | lch(50.08, 51.60, 100.75°) |
| OKLab | oklab(56.64% -0.0324 0.1095) |
| OKLCH | oklch(56.64% 0.114 106.5) |
| XYZ | xyz(15.8480, 18.4858, 3.4426) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.88
Ugly Brown
#7D7103
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.60
Shit Green
#758000
ΔE00 4.71
Poop Green
#6F7C00
ΔE00 5.11
Brown Green
#706C11
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7A15 #151A7F
analogous
#7F4515 #7F7A15 #4F7F15
triadic
#7F7A15 #157F7A #7A157F
tetradic
#7F7A15 #157F45 #151A7F #7F154F
square
#7F7A15 #157F45 #151A7F #7F154F
split-complementary
#7F7A15 #154F7F #45157F
monochromatic
#1A1904 #4A480C #7F7A15 #B4AC1E #DDD531
Accessibility & contrast
On white
4.47
#7F7A15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7F7A15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7A15
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7A15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7A15 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#897168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f7a15; /* rgb */ color: rgb(127, 122, 21); /* oklch */ color: oklch(56.6% 0.114 106.5);
Tailwind
colors: {
custom: {
50: '#a8a05d',
500: '#7f7a15',
950: '#000000',
},
}SCSS
$custom: #7f7a15; $custom-light: #a8a05d; $custom-dark: #000000;
JSON
{
"hex": "#7f7a15",
"rgb": {
"r": 127,
"g": 122,
"b": 21
},
"hsl": {
"h": 57.17,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.56636,
"c": 0.11424,
"h": 106.5
},
"luminance": 0.18485
}Semantic roles & 50–950 ramp
primary
#7F7A15
secondary
#3C41B4
accent
#42EE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79