#7F7912#7F7912
#7F7912 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.115 H 105.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7912 |
|---|---|
| RGB | rgb(127, 121, 18) |
| HSL | hsl(57, 75%, 28%) |
| HSV | hsv(57, 86%, 50%) |
| CMYK | cmyk(0%, 4.7%, 85.8%, 50.2%) |
| CIE-LAB | lab(49.78, -9.17, 51.28) |
| CIE-LCH | lch(49.78, 52.09, 100.14°) |
| OKLab | oklab(56.39% -0.0314 0.1102) |
| OKLCH | oklch(56.39% 0.115 105.9) |
| XYZ | xyz(15.6997, 18.2311, 3.2641) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.16
Ugly Brown
#7D7103
ΔE00 3.33
Olive (survey)
#6E750E
ΔE00 4.70
Shit Green
#758000
ΔE00 5.05
Brown Green
#706C11
ΔE00 5.35
Browny Green
#6F6C0A
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7912 #12187F
analogous
#7F4212 #7F7912 #4E7F12
triadic
#7F7912 #127F79 #79127F
tetradic
#7F7912 #127F42 #12187F #7F124E
square
#7F7912 #127F42 #12187F #7F124E
split-complementary
#7F7912 #124E7F #42127F
monochromatic
#1B1A04 #49460A #7F7912 #B5AC1A #E1D72B
Accessibility & contrast
On white
4.52
#7F7912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7F7912 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7912
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7912 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7912 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#87781C
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7f7912; /* rgb */ color: rgb(127, 121, 18); /* oklch */ color: oklch(56.4% 0.115 105.9);
Tailwind
colors: {
custom: {
50: '#a89f5c',
500: '#7f7912',
950: '#000000',
},
}SCSS
$custom: #7f7912; $custom-light: #a89f5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7912",
"rgb": {
"r": 127,
"g": 121,
"b": 18
},
"hsl": {
"h": 56.697,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.56389,
"c": 0.1146,
"h": 105.9
},
"luminance": 0.1823
}Semantic roles & 50–950 ramp
primary
#7F7912
secondary
#383FB5
accent
#40F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79