#7F7B1E#7F7B1E
#7F7B1E is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.110 H 106.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7B1E |
|---|---|
| RGB | rgb(127, 123, 30) |
| HSL | hsl(58, 62%, 31%) |
| HSV | hsv(58, 76%, 50%) |
| CMYK | cmyk(0%, 3.1%, 76.4%, 50.2%) |
| CIE-LAB | lab(50.42, -9.81, 48.00) |
| CIE-LCH | lch(50.42, 49.00, 101.55°) |
| OKLab | oklab(56.92% -0.0321 0.1056) |
| OKLCH | oklch(56.92% 0.11 106.9) |
| XYZ | xyz(16.0703, 18.7722, 4.0049) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.14
Ugly Brown
#7D7103
ΔE00 4.47
Olive (survey)
#6E750E
ΔE00 4.55
Shit Green
#758000
ΔE00 4.61
Poop Green
#6F7C00
ΔE00 5.01
Murky Green
#6C7A0E
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7B1E #1E227F
analogous
#7F4A1E #7F7B1E #527F1E
triadic
#7F7B1E #1E7F7B #7B1E7F
tetradic
#7F7B1E #1E7F4A #1E227F #7F1E52
square
#7F7B1E #1E7F4A #1E227F #7F1E52
split-complementary
#7F7B1E #1E527F #4A1E7F
monochromatic
#1C1B07 #4D4B12 #7F7B1E #B1AB2A #D3CD44
Accessibility & contrast
On white
4.42
#7F7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#7F7B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7B1E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7B1E | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#897269
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7f7b1e; /* rgb */ color: rgb(127, 123, 30); /* oklch */ color: oklch(56.9% 0.110 106.9);
Tailwind
colors: {
custom: {
50: '#a7a062',
500: '#7f7b1e',
950: '#000000',
},
}SCSS
$custom: #7f7b1e; $custom-light: #a7a062; $custom-dark: #000000;
JSON
{
"hex": "#7f7b1e",
"rgb": {
"r": 127,
"g": 123,
"b": 30
},
"hsl": {
"h": 57.526,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.56922,
"c": 0.11037,
"h": 106.9
},
"luminance": 0.18772
}Semantic roles & 50–950 ramp
primary
#7F7B1E
secondary
#474BB2
accent
#4AE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A