#7E7212#7E7212
#7E7212 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.108 H 101.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7212 |
|---|---|
| RGB | rgb(126, 114, 18) |
| HSL | hsl(53, 75%, 28%) |
| HSV | hsv(53, 86%, 49%) |
| CMYK | cmyk(0%, 9.5%, 85.7%, 50.6%) |
| CIE-LAB | lab(47.64, -5.74, 49.43) |
| CIE-LCH | lch(47.64, 49.76, 96.63°) |
| OKLab | oklab(54.67% -0.0217 0.1063) |
| OKLCH | oklch(54.67% 0.108 101.6) |
| XYZ | xyz(14.7314, 16.5146, 2.9838) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.03
Brown Green
#706C11
ΔE00 3.95
Browny Green
#6F6C0A
ΔE00 4.14
Hazel
#8E7618
ΔE00 4.67
Poo
#8F7303
ΔE00 5.56
Brownish Green
#6A6E09
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7212 #121E7E
analogous
#7E3C12 #7E7212 #547E12
triadic
#7E7212 #127E72 #72127E
tetradic
#7E7212 #127E3C #121E7E #7E1254
square
#7E7212 #127E3C #121E7E #7E1254
split-complementary
#7E7212 #12547E #3C127E
monochromatic
#1B1804 #48420A #7E7212 #B4A21A #E1CC2A
Accessibility & contrast
On white
4.88
#7E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7E7212 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7212
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7212 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#81731A
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e7212; /* rgb */ color: rgb(126, 114, 18); /* oklch */ color: oklch(54.7% 0.108 101.6);
Tailwind
colors: {
custom: {
50: '#a79a5b',
500: '#7e7212',
950: '#000000',
},
}SCSS
$custom: #7e7212; $custom-light: #a79a5b; $custom-dark: #000000;
JSON
{
"hex": "#7e7212",
"rgb": {
"r": 126,
"g": 114,
"b": 18
},
"hsl": {
"h": 53.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.54669,
"c": 0.10845,
"h": 101.6
},
"luminance": 0.16514
}Semantic roles & 50–950 ramp
primary
#7E7212
secondary
#3846B4
accent
#4BF236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79