#7D701B#7D701B
#7D701B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.102 H 100.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7D701B |
|---|---|
| RGB | rgb(125, 112, 27) |
| HSL | hsl(52, 64%, 30%) |
| HSV | hsv(52, 78%, 49%) |
| CMYK | cmyk(0%, 10.4%, 78.4%, 51%) |
| CIE-LAB | lab(47.01, -4.74, 45.85) |
| CIE-LCH | lch(47.01, 46.09, 95.91°) |
| OKLab | oklab(54.16% -0.018 0.1005) |
| OKLCH | oklch(54.16% 0.102 100.2) |
| XYZ | xyz(14.4501, 16.0281, 3.3693) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.13
Brown Green
#706C11
ΔE00 3.71
Browny Green
#6F6C0A
ΔE00 4.07
Hazel
#8E7618
ΔE00 4.91
Poo
#8F7303
ΔE00 5.80
Brownish Green
#6A6E09
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D701B #1B287D
analogous
#7D3F1B #7D701B #597D1B
triadic
#7D701B #1B7D70 #701B7D
tetradic
#7D701B #1B7D3F #1B287D #7D1B59
square
#7D701B #1B7D3F #1B287D #7D1B59
split-complementary
#7D701B #1B597D #3F1B7D
monochromatic
#191705 #4B4310 #7D701B #AF9D26 #D5C13D
Accessibility & contrast
On white
4.99
#7D701B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7D701B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D701B
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D701B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D701B | 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)
#7B6D0A
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#876760
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d701b; /* rgb */ color: rgb(125, 112, 27); /* oklch */ color: oklch(54.2% 0.102 100.2);
Tailwind
colors: {
custom: {
50: '#a6985f',
500: '#7d701b',
950: '#000000',
},
}SCSS
$custom: #7d701b; $custom-light: #a6985f; $custom-dark: #000000;
JSON
{
"hex": "#7d701b",
"rgb": {
"r": 125,
"g": 112,
"b": 27
},
"hsl": {
"h": 52.041,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.5416,
"c": 0.10211,
"h": 100.2
},
"luminance": 0.16027
}Semantic roles & 50–950 ramp
primary
#7D701B
secondary
#4351B1
accent
#57E740
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79