#7F6E18#7F6E18
#7F6E18 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.102 H 97.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6E18 |
|---|---|
| RGB | rgb(127, 110, 24) |
| HSL | hsl(50, 68%, 30%) |
| HSV | hsv(50, 81%, 50%) |
| CMYK | cmyk(0%, 13.4%, 81.1%, 50.2%) |
| CIE-LAB | lab(46.62, -2.78, 46.65) |
| CIE-LCH | lch(46.62, 46.73, 93.41°) |
| OKLab | oklab(53.89% -0.0129 0.1015) |
| OKLCH | oklch(53.89% 0.102 97.3) |
| XYZ | xyz(14.4940, 15.7306, 3.1369) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.68
Hazel
#8E7618
ΔE00 4.37
Brown Green
#706C11
ΔE00 4.68
Poo
#8F7303
ΔE00 4.90
Browny Green
#6F6C0A
ΔE00 5.03
Muddy Brown
#886806
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6E18 #18297F
analogous
#7F3B18 #7F6E18 #5D7F18
triadic
#7F6E18 #187F6E #6E187F
tetradic
#7F6E18 #187F3B #18297F #7F185D
square
#7F6E18 #187F3B #18297F #7F185D
split-complementary
#7F6E18 #185D7F #3B187F
monochromatic
#1A1605 #4C410E #7F6E18 #B29B22 #D9BF38
Accessibility & contrast
On white
5.07
#7F6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7F6E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F6E18
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F6E18 | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#8A655E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7f6e18; /* rgb */ color: rgb(127, 110, 24); /* oklch */ color: oklch(53.9% 0.102 97.3);
Tailwind
colors: {
custom: {
50: '#a8975d',
500: '#7f6e18',
950: '#000000',
},
}SCSS
$custom: #7f6e18; $custom-light: #a8975d; $custom-dark: #000000;
JSON
{
"hex": "#7f6e18",
"rgb": {
"r": 127,
"g": 110,
"b": 24
},
"hsl": {
"h": 50.097,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.5389,
"c": 0.10229,
"h": 97.3
},
"luminance": 0.1573
}Semantic roles & 50–950 ramp
primary
#7F6E18
secondary
#3F53B3
accent
#5AEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79