#7F6C19#7F6C19
#7F6C19 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.100 H 95.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6C19 |
|---|---|
| RGB | rgb(127, 108, 25) |
| HSL | hsl(49, 67%, 30%) |
| HSV | hsv(49, 80%, 50%) |
| CMYK | cmyk(0%, 15%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.05, -1.59, 45.78) |
| CIE-LCH | lch(46.05, 45.81, 92.00°) |
| OKLab | oklab(53.44% -0.0095 0.0998) |
| OKLCH | oklch(53.44% 0.1 95.4) |
| XYZ | xyz(14.2912, 15.3081, 3.1215) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.60
Muddy Brown
#886806
ΔE00 4.49
Hazel
#8E7618
ΔE00 4.69
Poo
#8F7303
ΔE00 4.99
Brown Green
#706C11
ΔE00 5.23
Browny Green
#6F6C0A
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6C19 #192C7F
analogous
#7F3919 #7F6C19 #5F7F19
triadic
#7F6C19 #197F6C #6C197F
tetradic
#7F6C19 #197F39 #192C7F #7F195F
square
#7F6C19 #197F39 #192C7F #7F195F
split-complementary
#7F6C19 #195F7F #39197F
monochromatic
#1A1605 #4C410F #7F6C19 #B29723 #D8BB3A
Accessibility & contrast
On white
5.17
#7F6C19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7F6C19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F6C19
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6C19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F6C19 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#8A635C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f6c19; /* rgb */ color: rgb(127, 108, 25); /* oklch */ color: oklch(53.4% 0.100 95.4);
Tailwind
colors: {
custom: {
50: '#a8955d',
500: '#7f6c19',
950: '#000000',
},
}SCSS
$custom: #7f6c19; $custom-light: #a8955d; $custom-dark: #000000;
JSON
{
"hex": "#7f6c19",
"rgb": {
"r": 127,
"g": 108,
"b": 25
},
"hsl": {
"h": 48.824,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.53444,
"c": 0.10027,
"h": 95.4
},
"luminance": 0.15307
}Semantic roles & 50–950 ramp
primary
#7F6C19
secondary
#4156B3
accent
#5EEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79