#7F7C15#7F7C15
#7F7C15 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.116 H 107.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7C15 |
|---|---|
| RGB | rgb(127, 124, 21) |
| HSL | hsl(58, 72%, 29%) |
| HSV | hsv(58, 83%, 50%) |
| CMYK | cmyk(0%, 2.4%, 83.5%, 50.2%) |
| CIE-LAB | lab(50.67, -10.73, 51.20) |
| CIE-LCH | lch(50.67, 52.31, 101.83°) |
| OKLab | oklab(57.1% -0.0355 0.1106) |
| OKLCH | oklch(57.1% 0.116 107.8) |
| XYZ | xyz(16.0961, 18.9820, 3.5254) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.14
Shit Green
#758000
ΔE00 3.98
Olive (survey)
#6E750E
ΔE00 4.61
Poop Green
#6F7C00
ΔE00 4.61
Ugly Brown
#7D7103
ΔE00 4.65
Murky Green
#6C7A0E
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7C15 #15187F
analogous
#7F4715 #7F7C15 #4D7F15
triadic
#7F7C15 #157F7C #7C157F
tetradic
#7F7C15 #157F47 #15187F #7F154D
square
#7F7C15 #157F47 #15187F #7F154D
split-complementary
#7F7C15 #154D7F #47157F
monochromatic
#1A1A04 #4A490C #7F7C15 #B4AF1E #DDD831
Accessibility & contrast
On white
4.38
#7F7C15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7F7C15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7C15
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7C15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7C15 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897A1F
Tritanopia (blue-blind)
#897369
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7c15; /* rgb */ color: rgb(127, 124, 21); /* oklch */ color: oklch(57.1% 0.116 107.8);
Tailwind
colors: {
custom: {
50: '#a8a15e',
500: '#7f7c15',
950: '#000000',
},
}SCSS
$custom: #7f7c15; $custom-light: #a8a15e; $custom-dark: #000000;
JSON
{
"hex": "#7f7c15",
"rgb": {
"r": 127,
"g": 124,
"b": 21
},
"hsl": {
"h": 58.302,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.57104,
"c": 0.11618,
"h": 107.8
},
"luminance": 0.18981
}Semantic roles & 50–950 ramp
primary
#7F7C15
secondary
#3C3FB4
accent
#3FEE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79