#7F7A19#7F7A19
#7F7A19 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.112 H 106.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7A19 |
|---|---|
| RGB | rgb(127, 122, 25) |
| HSL | hsl(57, 67%, 30%) |
| HSV | hsv(57, 80%, 50%) |
| CMYK | cmyk(0%, 3.9%, 80.3%, 50.2%) |
| CIE-LAB | lab(50.10, -9.48, 49.45) |
| CIE-LCH | lch(50.10, 50.35, 100.85°) |
| OKLab | oklab(56.66% -0.0317 0.1077) |
| OKLCH | oklch(56.66% 0.112 106.4) |
| XYZ | xyz(15.8881, 18.5019, 3.6538) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.10
Ugly Brown
#7D7103
ΔE00 3.90
Olive (survey)
#6E750E
ΔE00 4.57
Shit Green
#758000
ΔE00 4.80
Poop Green
#6F7C00
ΔE00 5.16
Brown Green
#706C11
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7A19 #191E7F
analogous
#7F4719 #7F7A19 #517F19
triadic
#7F7A19 #197F7A #7A197F
tetradic
#7F7A19 #197F47 #191E7F #7F1951
square
#7F7A19 #197F47 #191E7F #7F1951
split-complementary
#7F7A19 #19517F #47197F
monochromatic
#1A1905 #4C490F #7F7A19 #B2AB23 #D8D13A
Accessibility & contrast
On white
4.47
#7F7A19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7F7A19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7A19
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7A19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7A19 | 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)
#877921
Tritanopia (blue-blind)
#897168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f7a19; /* rgb */ color: rgb(127, 122, 25); /* oklch */ color: oklch(56.7% 0.112 106.4);
Tailwind
colors: {
custom: {
50: '#a7a05f',
500: '#7f7a19',
950: '#000000',
},
}SCSS
$custom: #7f7a19; $custom-light: #a7a05f; $custom-dark: #000000;
JSON
{
"hex": "#7f7a19",
"rgb": {
"r": 127,
"g": 122,
"b": 25
},
"hsl": {
"h": 57.059,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.56658,
"c": 0.11225,
"h": 106.4
},
"luminance": 0.18501
}Semantic roles & 50–950 ramp
primary
#7F7A19
secondary
#4146B3
accent
#46EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79