#7D701F#7D701F
#7D701F is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.100 H 99.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7D701F |
|---|---|
| RGB | rgb(125, 112, 31) |
| HSL | hsl(52, 60%, 31%) |
| HSV | hsv(52, 75%, 49%) |
| CMYK | cmyk(0%, 10.4%, 75.2%, 51%) |
| CIE-LAB | lab(47.04, -4.55, 44.32) |
| CIE-LCH | lch(47.04, 44.55, 95.86°) |
| OKLab | oklab(54.19% -0.0171 0.0981) |
| OKLCH | oklch(54.19% 0.1 99.9) |
| XYZ | xyz(14.4996, 16.0479, 3.6299) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.63
Brown Green
#706C11
ΔE00 3.81
Browny Green
#6F6C0A
ΔE00 4.23
Hazel
#8E7618
ΔE00 5.02
Brownish Green
#6A6E09
ΔE00 5.96
Poo
#8F7303
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D701F #1F2C7D
analogous
#7D411F #7D701F #5B7D1F
triadic
#7D701F #1F7D70 #701F7D
tetradic
#7D701F #1F7D41 #1F2C7D #7D1F5B
square
#7D701F #1F7D41 #1F2C7D #7D1F5B
split-complementary
#7D701F #1F5B7D #411F7D
monochromatic
#1B1807 #4C4413 #7D701F #AE9C2B #D1BE45
Accessibility & contrast
On white
4.99
#7D701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7D701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D701F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D701F | 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)
#7B6D11
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d701f; /* rgb */ color: rgb(125, 112, 31); /* oklch */ color: oklch(54.2% 0.100 99.9);
Tailwind
colors: {
custom: {
50: '#a69861',
500: '#7d701f',
950: '#000000',
},
}SCSS
$custom: #7d701f; $custom-light: #a69861; $custom-dark: #000000;
JSON
{
"hex": "#7d701f",
"rgb": {
"r": 125,
"g": 112,
"b": 31
},
"hsl": {
"h": 51.702,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.54189,
"c": 0.09954,
"h": 99.9
},
"luminance": 0.16047
}Semantic roles & 50–950 ramp
primary
#7D701F
secondary
#4856B0
accent
#5AE344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79