#7D731C#7D731C
#7D731C is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.104 H 102.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7D731C |
|---|---|
| RGB | rgb(125, 115, 28) |
| HSL | hsl(54, 63%, 30%) |
| HSV | hsv(54, 78%, 49%) |
| CMYK | cmyk(0%, 8%, 77.6%, 51%) |
| CIE-LAB | lab(47.89, -6.39, 46.30) |
| CIE-LCH | lch(47.89, 46.74, 97.86°) |
| OKLab | oklab(54.86% -0.0226 0.1017) |
| OKLCH | oklch(54.86% 0.104 102.5) |
| XYZ | xyz(14.7985, 16.7059, 3.5435) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.14
Brown Green
#706C11
ΔE00 3.68
Browny Green
#6F6C0A
ΔE00 3.97
Hazel
#8E7618
ΔE00 5.20
Olive (survey)
#6E750E
ΔE00 5.31
Brownish Green
#6A6E09
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D731C #1C267D
analogous
#7D421C #7D731C #577D1C
triadic
#7D731C #1C7D73 #731C7D
tetradic
#7D731C #1C7D42 #1C267D #7D1C57
square
#7D731C #1C7D42 #1C267D #7D1C57
split-complementary
#7D731C #1C577D #421C7D
monochromatic
#191706 #4B4511 #7D731C #AFA127 #D4C53F
Accessibility & contrast
On white
4.84
#7D731C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7D731C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D731C
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D731C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D731C | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F0A
Deuteranopia (green-blind)
#817422
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d731c; /* rgb */ color: rgb(125, 115, 28); /* oklch */ color: oklch(54.9% 0.104 102.5);
Tailwind
colors: {
custom: {
50: '#a69b60',
500: '#7d731c',
950: '#000000',
},
}SCSS
$custom: #7d731c; $custom-light: #a69b60; $custom-dark: #000000;
JSON
{
"hex": "#7d731c",
"rgb": {
"r": 125,
"g": 115,
"b": 28
},
"hsl": {
"h": 53.814,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.54857,
"c": 0.10414,
"h": 102.5
},
"luminance": 0.16705
}Semantic roles & 50–950 ramp
primary
#7D731C
secondary
#444FB1
accent
#52E641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79