#7F7718#7F7718
#7F7718 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.110 H 104.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7718 |
|---|---|
| RGB | rgb(127, 119, 24) |
| HSL | hsl(55, 68%, 30%) |
| HSV | hsv(55, 81%, 50%) |
| CMYK | cmyk(0%, 6.3%, 81.1%, 50.2%) |
| CIE-LAB | lab(49.22, -7.86, 48.99) |
| CIE-LCH | lch(49.22, 49.62, 99.11°) |
| OKLab | oklab(55.96% -0.0272 0.1065) |
| OKLCH | oklch(55.96% 0.11 104.3) |
| XYZ | xyz(15.5148, 17.7723, 3.4771) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.68
Olive
#808000
ΔE00 4.25
Brown Green
#706C11
ΔE00 4.74
Browny Green
#6F6C0A
ΔE00 4.86
Olive (survey)
#6E750E
ΔE00 4.92
Hazel
#8E7618
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7718 #18207F
analogous
#7F4418 #7F7718 #547F18
triadic
#7F7718 #187F77 #77187F
tetradic
#7F7718 #187F44 #18207F #7F1854
square
#7F7718 #187F44 #18207F #7F1854
split-complementary
#7F7718 #18547F #44187F
monochromatic
#1A1805 #4C470E #7F7718 #B2A722 #D9CD38
Accessibility & contrast
On white
4.61
#7F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7F7718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7718
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7718 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f7718; /* rgb */ color: rgb(127, 119, 24); /* oklch */ color: oklch(56.0% 0.110 104.3);
Tailwind
colors: {
custom: {
50: '#a89d5e',
500: '#7f7718',
950: '#000000',
},
}SCSS
$custom: #7f7718; $custom-light: #a89d5e; $custom-dark: #000000;
JSON
{
"hex": "#7f7718",
"rgb": {
"r": 127,
"g": 119,
"b": 24
},
"hsl": {
"h": 55.34,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.55955,
"c": 0.10991,
"h": 104.3
},
"luminance": 0.17772
}Semantic roles & 50–950 ramp
primary
#7F7718
secondary
#3F48B3
accent
#4AEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79