#7F7E1B#7F7E1B
#7F7E1B is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.115 H 108.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7E1B |
|---|---|
| RGB | rgb(127, 126, 27) |
| HSL | hsl(59, 65%, 30%) |
| HSV | hsv(59, 79%, 50%) |
| CMYK | cmyk(0%, 0.8%, 78.7%, 50.2%) |
| CIE-LAB | lab(51.28, -11.59, 49.86) |
| CIE-LCH | lch(51.28, 51.19, 103.08°) |
| OKLab | oklab(57.61% -0.0374 0.109) |
| OKLCH | oklch(57.61% 0.115 108.9) |
| XYZ | xyz(16.4117, 19.5134, 3.9387) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.09
Shit Green
#758000
ΔE00 3.51
Poop Green
#6F7C00
ΔE00 4.32
Olive (survey)
#6E750E
ΔE00 4.73
Murky Green
#6C7A0E
ΔE00 4.97
Swamp Green
#748500
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7E1B #1B1C7F
analogous
#7F4C1B #7F7E1B #4E7F1B
triadic
#7F7E1B #1B7F7E #7E1B7F
tetradic
#7F7E1B #1B7F4C #1B1C7F #7F1B4E
square
#7F7E1B #1B7F4C #1B1C7F #7F1B4E
split-complementary
#7F7E1B #1B4E7F #4C1B7F
monochromatic
#1A1A06 #4D4C10 #7F7E1B #B1B026 #D6D53E
Accessibility & contrast
On white
4.28
#7F7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7F7E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7E1B
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7E1B | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897802
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#89756C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7e1b; /* rgb */ color: rgb(127, 126, 27); /* oklch */ color: oklch(57.6% 0.115 108.9);
Tailwind
colors: {
custom: {
50: '#a7a361',
500: '#7f7e1b',
950: '#000000',
},
}SCSS
$custom: #7f7e1b; $custom-light: #a7a361; $custom-dark: #000000;
JSON
{
"hex": "#7f7e1b",
"rgb": {
"r": 127,
"g": 126,
"b": 27
},
"hsl": {
"h": 59.4,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.57605,
"c": 0.11518,
"h": 108.9
},
"luminance": 0.19513
}Semantic roles & 50–950 ramp
primary
#7F7E1B
secondary
#4344B3
accent
#42E840
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A