#7D6F18#7D6F18
#7D6F18 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.103 H 99.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7D6F18 |
|---|---|
| RGB | rgb(125, 111, 24) |
| HSL | hsl(52, 68%, 29%) |
| HSV | hsv(52, 81%, 49%) |
| CMYK | cmyk(0%, 11.2%, 80.8%, 51%) |
| CIE-LAB | lab(46.70, -4.30, 46.66) |
| CIE-LCH | lch(46.70, 46.85, 95.27°) |
| OKLab | oklab(53.91% -0.0171 0.1016) |
| OKLCH | oklch(53.91% 0.103 99.6) |
| XYZ | xyz(14.3075, 15.7955, 3.1592) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.05
Brown Green
#706C11
ΔE00 3.81
Browny Green
#6F6C0A
ΔE00 4.15
Hazel
#8E7618
ΔE00 4.84
Poo
#8F7303
ΔE00 5.58
Brownish Green
#6A6E09
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D6F18 #18267D
analogous
#7D3D18 #7D6F18 #597D18
triadic
#7D6F18 #187D6F #6F187D
tetradic
#7D6F18 #187D3D #18267D #7D1859
square
#7D6F18 #187D3D #18267D #7D1859
split-complementary
#7D6F18 #18597D #3D187D
monochromatic
#1A1705 #4A410E #7D6F18 #B09D22 #D9C237
Accessibility & contrast
On white
5.05
#7D6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7D6F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D6F18
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D6F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D6F18 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#7E711E
Tritanopia (blue-blind)
#87665F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d6f18; /* rgb */ color: rgb(125, 111, 24); /* oklch */ color: oklch(53.9% 0.103 99.6);
Tailwind
colors: {
custom: {
50: '#a6985d',
500: '#7d6f18',
950: '#000000',
},
}SCSS
$custom: #7d6f18; $custom-light: #a6985d; $custom-dark: #000000;
JSON
{
"hex": "#7d6f18",
"rgb": {
"r": 125,
"g": 111,
"b": 24
},
"hsl": {
"h": 51.683,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.53911,
"c": 0.10301,
"h": 99.6
},
"luminance": 0.15795
}Semantic roles & 50–950 ramp
primary
#7D6F18
secondary
#3F4FB2
accent
#55EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79