#7F7A13#7F7A13
#7F7A13 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.115 H 106.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7A13 |
|---|---|
| RGB | rgb(127, 122, 19) |
| HSL | hsl(57, 74%, 29%) |
| HSV | hsv(57, 85%, 50%) |
| CMYK | cmyk(0%, 3.9%, 85%, 50.2%) |
| CIE-LAB | lab(50.07, -9.69, 51.25) |
| CIE-LCH | lch(50.07, 52.16, 100.71°) |
| OKLab | oklab(56.63% -0.0328 0.1104) |
| OKLCH | oklch(56.63% 0.115 106.5) |
| XYZ | xyz(15.8302, 18.4787, 3.3489) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.79
Ugly Brown
#7D7103
ΔE00 3.77
Olive (survey)
#6E750E
ΔE00 4.62
Shit Green
#758000
ΔE00 4.68
Poop Green
#6F7C00
ΔE00 5.09
Brown Green
#706C11
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7A13 #13187F
analogous
#7F4413 #7F7A13 #4E7F13
triadic
#7F7A13 #137F7A #7A137F
tetradic
#7F7A13 #137F44 #13187F #7F134E
square
#7F7A13 #137F44 #13187F #7F134E
split-complementary
#7F7A13 #134E7F #44137F
monochromatic
#1B1A04 #4A470B #7F7A13 #B4AD1B #E0D72D
Accessibility & contrast
On white
4.47
#7F7A13 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7F7A13 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7A13
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7A13 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7A13 | 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)
#87791D
Tritanopia (blue-blind)
#897168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f7a13; /* rgb */ color: rgb(127, 122, 19); /* oklch */ color: oklch(56.6% 0.115 106.5);
Tailwind
colors: {
custom: {
50: '#a8a05d',
500: '#7f7a13',
950: '#000000',
},
}SCSS
$custom: #7f7a13; $custom-light: #a8a05d; $custom-dark: #000000;
JSON
{
"hex": "#7f7a13",
"rgb": {
"r": 127,
"g": 122,
"b": 19
},
"hsl": {
"h": 57.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.56627,
"c": 0.11513,
"h": 106.5
},
"luminance": 0.18478
}Semantic roles & 50–950 ramp
primary
#7F7A13
secondary
#393FB4
accent
#40F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79