#7D701C#7D701C
#7D701C is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.101 H 100.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7D701C |
|---|---|
| RGB | rgb(125, 112, 28) |
| HSL | hsl(52, 63%, 30%) |
| HSV | hsv(52, 78%, 49%) |
| CMYK | cmyk(0%, 10.4%, 77.6%, 51%) |
| CIE-LAB | lab(47.02, -4.70, 45.48) |
| CIE-LCH | lch(47.02, 45.72, 95.90°) |
| OKLab | oklab(54.17% -0.0178 0.0999) |
| OKLCH | oklch(54.17% 0.101 100.1) |
| XYZ | xyz(14.4619, 16.0328, 3.4313) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.25
Brown Green
#706C11
ΔE00 3.72
Browny Green
#6F6C0A
ΔE00 4.11
Hazel
#8E7618
ΔE00 4.93
Poo
#8F7303
ΔE00 5.85
Brownish Green
#6A6E09
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D701C #1C297D
analogous
#7D401C #7D701C #597D1C
triadic
#7D701C #1C7D70 #701C7D
tetradic
#7D701C #1C7D40 #1C297D #7D1C59
square
#7D701C #1C7D40 #1C297D #7D1C59
split-complementary
#7D701C #1C597D #401C7D
monochromatic
#191606 #4B4311 #7D701C #AF9D27 #D4C03F
Accessibility & contrast
On white
4.99
#7D701C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7D701C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D701C
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D701C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D701C | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D0C
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d701c; /* rgb */ color: rgb(125, 112, 28); /* oklch */ color: oklch(54.2% 0.101 100.1);
Tailwind
colors: {
custom: {
50: '#a6985f',
500: '#7d701c',
950: '#000000',
},
}SCSS
$custom: #7d701c; $custom-light: #a6985f; $custom-dark: #000000;
JSON
{
"hex": "#7d701c",
"rgb": {
"r": 125,
"g": 112,
"b": 28
},
"hsl": {
"h": 51.959,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.54167,
"c": 0.10149,
"h": 100.1
},
"luminance": 0.16032
}Semantic roles & 50–950 ramp
primary
#7D701C
secondary
#4453B1
accent
#57E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79