#7F7513#7F7513
#7F7513 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.111 H 103.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7513 |
|---|---|
| RGB | rgb(127, 117, 19) |
| HSL | hsl(54, 74%, 29%) |
| HSV | hsv(54, 85%, 50%) |
| CMYK | cmyk(0%, 7.9%, 85%, 50.2%) |
| CIE-LAB | lab(48.61, -6.92, 50.01) |
| CIE-LCH | lch(48.61, 50.49, 97.88°) |
| OKLab | oklab(55.47% -0.025 0.1077) |
| OKLCH | oklch(55.47% 0.111 103.1) |
| XYZ | xyz(15.2320, 17.2823, 3.1495) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.75
Brown Green
#706C11
ΔE00 4.44
Browny Green
#6F6C0A
ΔE00 4.56
Hazel
#8E7618
ΔE00 4.85
Olive
#808000
ΔE00 4.93
Olive (survey)
#6E750E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7513 #131D7F
analogous
#7F3F13 #7F7513 #537F13
triadic
#7F7513 #137F75 #75137F
tetradic
#7F7513 #137F3F #131D7F #7F1353
square
#7F7513 #137F3F #131D7F #7F1353
split-complementary
#7F7513 #13537F #3F137F
monochromatic
#1B1904 #4A440B #7F7513 #B4A61B #E0CF2D
Accessibility & contrast
On white
4.71
#7F7513 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7F7513 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7513
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7513 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7513 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84751C
Tritanopia (blue-blind)
#896C63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7513; /* rgb */ color: rgb(127, 117, 19); /* oklch */ color: oklch(55.5% 0.111 103.1);
Tailwind
colors: {
custom: {
50: '#a89c5c',
500: '#7f7513',
950: '#000000',
},
}SCSS
$custom: #7f7513; $custom-light: #a89c5c; $custom-dark: #000000;
JSON
{
"hex": "#7f7513",
"rgb": {
"r": 127,
"g": 117,
"b": 19
},
"hsl": {
"h": 54.444,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.55466,
"c": 0.11053,
"h": 103.1
},
"luminance": 0.17282
}Semantic roles & 50–950 ramp
primary
#7F7513
secondary
#3945B4
accent
#48F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79