#7E7E1B#7E7E1B
#7E7E1B is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.115 H 109.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7E1B |
|---|---|
| RGB | rgb(126, 126, 27) |
| HSL | hsl(60, 65%, 30%) |
| HSV | hsv(60, 79%, 49%) |
| CMYK | cmyk(0%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(51.19, -12.05, 49.75) |
| CIE-LCH | lch(51.19, 51.19, 103.61°) |
| OKLab | oklab(57.51% -0.0386 0.1088) |
| OKLCH | oklch(57.51% 0.115 109.5) |
| XYZ | xyz(16.2635, 19.4370, 3.9317) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.16
Shit Green
#758000
ΔE00 3.26
Poop Green
#6F7C00
ΔE00 4.04
Olive (survey)
#6E750E
ΔE00 4.52
Murky Green
#6C7A0E
ΔE00 4.67
Swamp Green
#748500
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7E1B #1B1B7E
analogous
#7E4D1B #7E7E1B #4D7E1B
triadic
#7E7E1B #1B7E7E #7E1B7E
tetradic
#7E7E1B #1B7E4D #1B1B7E #7E1B4D
square
#7E7E1B #1B7E4D #1B1B7E #7E1B4D
split-complementary
#7E7E1B #1B4C7E #4C1B7E
monochromatic
#191905 #4C4C10 #7E7E1B #B0B026 #D6D63E
Accessibility & contrast
On white
4.30
#7E7E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7E7E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7E1B
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7E1B | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897802
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#87756C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e7e1b; /* rgb */ color: rgb(126, 126, 27); /* oklch */ color: oklch(57.5% 0.115 109.5);
Tailwind
colors: {
custom: {
50: '#a7a361',
500: '#7e7e1b',
950: '#000000',
},
}SCSS
$custom: #7e7e1b; $custom-light: #a7a361; $custom-dark: #000000;
JSON
{
"hex": "#7e7e1b",
"rgb": {
"r": 126,
"g": 126,
"b": 27
},
"hsl": {
"h": 60,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.57513,
"c": 0.11539,
"h": 109.5
},
"luminance": 0.19436
}Semantic roles & 50–950 ramp
primary
#7E7E1B
secondary
#4343B2
accent
#40E840
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79