#7D751F#7D751F
#7D751F is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.104 H 103.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7D751F |
|---|---|
| RGB | rgb(125, 117, 31) |
| HSL | hsl(55, 60%, 31%) |
| HSV | hsv(55, 75%, 49%) |
| CMYK | cmyk(0%, 6.4%, 75.2%, 51%) |
| CIE-LAB | lab(48.49, -7.37, 45.72) |
| CIE-LCH | lch(48.49, 46.31, 99.15°) |
| OKLab | oklab(55.34% -0.025 0.101) |
| OKLCH | oklch(55.34% 0.104 103.9) |
| XYZ | xyz(15.0667, 17.1821, 3.8189) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.81
Brown Green
#706C11
ΔE00 3.98
Browny Green
#6F6C0A
ΔE00 4.24
Olive (survey)
#6E750E
ΔE00 4.80
Brownish Green
#6A6E09
ΔE00 5.23
Olive
#808000
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D751F #1F277D
analogous
#7D461F #7D751F #567D1F
triadic
#7D751F #1F7D75 #751F7D
tetradic
#7D751F #1F7D46 #1F277D #7D1F56
square
#7D751F #1F7D46 #1F277D #7D1F56
split-complementary
#7D751F #1F567D #461F7D
monochromatic
#1B1907 #4C4713 #7D751F #AEA32B #D1C545
Accessibility & contrast
On white
4.73
#7D751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7D751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D751F
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D751F | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#876D64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d751f; /* rgb */ color: rgb(125, 117, 31); /* oklch */ color: oklch(55.3% 0.104 103.9);
Tailwind
colors: {
custom: {
50: '#a69c61',
500: '#7d751f',
950: '#000000',
},
}SCSS
$custom: #7d751f; $custom-light: #a69c61; $custom-dark: #000000;
JSON
{
"hex": "#7d751f",
"rgb": {
"r": 125,
"g": 117,
"b": 31
},
"hsl": {
"h": 54.894,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.55342,
"c": 0.10409,
"h": 103.9
},
"luminance": 0.17181
}Semantic roles & 50–950 ramp
primary
#7D751F
secondary
#4851B0
accent
#52E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A