#7D702C#7D702C
#7D702C is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.089 H 98.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7D702C |
|---|---|
| RGB | rgb(125, 112, 44) |
| HSL | hsl(50, 48%, 33%) |
| HSV | hsv(50, 65%, 49%) |
| CMYK | cmyk(0%, 10.4%, 64.8%, 51%) |
| CIE-LAB | lab(47.15, -3.75, 38.61) |
| CIE-LCH | lch(47.15, 38.79, 95.55°) |
| OKLab | oklab(54.31% -0.0132 0.0883) |
| OKLCH | oklch(54.31% 0.089 98.5) |
| XYZ | xyz(14.7069, 16.1308, 4.7213) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.62
Brown Green
#706C11
ΔE00 4.79
Browny Green
#6F6C0A
ΔE00 5.35
Hazel
#8E7618
ΔE00 5.86
Greenish Brown
#696112
ΔE00 6.44
Olive Drab
#6F7632
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D702C #2C397D
analogous
#7D472C #7D702C #617D2C
triadic
#7D702C #2C7D70 #702C7D
tetradic
#7D702C #2C7D47 #2C397D #7D2C61
square
#7D702C #2C7D47 #2C397D #7D2C61
split-complementary
#7D702C #2C617D #472C7D
monochromatic
#221F0C #50471C #7D702C #AA993C #C6B55D
Accessibility & contrast
On white
4.97
#7D702C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7D702C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D702C
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D702C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D702C | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D24
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#876861
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d702c; /* rgb */ color: rgb(125, 112, 44); /* oklch */ color: oklch(54.3% 0.089 98.5);
Tailwind
colors: {
custom: {
50: '#a59868',
500: '#7d702c',
950: '#000000',
},
}SCSS
$custom: #7d702c; $custom-light: #a59868; $custom-dark: #000000;
JSON
{
"hex": "#7d702c",
"rgb": {
"r": 125,
"g": 112,
"b": 44
},
"hsl": {
"h": 50.37,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.54309,
"c": 0.0893,
"h": 98.5
},
"luminance": 0.1613
}Semantic roles & 50–950 ramp
primary
#7D702C
secondary
#5966AC
accent
#66D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A