#7E7313#7E7313
#7E7313 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.109 H 102.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7313 |
|---|---|
| RGB | rgb(126, 115, 19) |
| HSL | hsl(54, 74%, 28%) |
| HSV | hsv(54, 85%, 49%) |
| CMYK | cmyk(0%, 8.7%, 84.9%, 50.6%) |
| CIE-LAB | lab(47.94, -6.27, 49.39) |
| CIE-LCH | lch(47.94, 49.79, 97.24°) |
| OKLab | oklab(54.91% -0.0231 0.1064) |
| OKLCH | oklch(54.91% 0.109 102.3) |
| XYZ | xyz(14.8532, 16.7448, 3.0657) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.24
Brown Green
#706C11
ΔE00 3.98
Browny Green
#6F6C0A
ΔE00 4.15
Hazel
#8E7618
ΔE00 4.80
Olive (survey)
#6E750E
ΔE00 5.57
Brownish Green
#6A6E09
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7313 #131E7E
analogous
#7E3D13 #7E7313 #537E13
triadic
#7E7313 #137E73 #73137E
tetradic
#7E7313 #137E3D #131E7E #7E1353
square
#7E7313 #137E3D #131E7E #7E1353
split-complementary
#7E7313 #13537E #3D137E
monochromatic
#1B1804 #49420B #7E7313 #B3A41B #DFCD2C
Accessibility & contrast
On white
4.83
#7E7313 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7E7313 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E7313
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7313 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E7313 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#82741B
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e7313; /* rgb */ color: rgb(126, 115, 19); /* oklch */ color: oklch(54.9% 0.109 102.3);
Tailwind
colors: {
custom: {
50: '#a79a5c',
500: '#7e7313',
950: '#000000',
},
}SCSS
$custom: #7e7313; $custom-light: #a79a5c; $custom-dark: #000000;
JSON
{
"hex": "#7e7313",
"rgb": {
"r": 126,
"g": 115,
"b": 19
},
"hsl": {
"h": 53.832,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.54905,
"c": 0.10886,
"h": 102.3
},
"luminance": 0.16744
}Semantic roles & 50–950 ramp
primary
#7E7313
secondary
#3946B4
accent
#4AF037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79