#7D741F#7D741F
#7D741F is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.103 H 103.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7D741F |
|---|---|
| RGB | rgb(125, 116, 31) |
| HSL | hsl(54, 60%, 31%) |
| HSV | hsv(54, 75%, 49%) |
| CMYK | cmyk(0%, 7.2%, 75.2%, 51%) |
| CIE-LAB | lab(48.20, -6.81, 45.44) |
| CIE-LCH | lch(48.20, 45.95, 98.52°) |
| OKLab | oklab(55.11% -0.0234 0.1004) |
| OKLCH | oklch(55.11% 0.103 103.1) |
| XYZ | xyz(14.9508, 16.9503, 3.7803) |
| Luminance | 0.1695 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.61
Brown Green
#706C11
ΔE00 3.83
Browny Green
#6F6C0A
ΔE00 4.12
Olive (survey)
#6E750E
ΔE00 5.07
Brownish Green
#6A6E09
ΔE00 5.29
Hazel
#8E7618
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D741F #1F287D
analogous
#7D451F #7D741F #577D1F
triadic
#7D741F #1F7D74 #741F7D
tetradic
#7D741F #1F7D45 #1F287D #7D1F57
square
#7D741F #1F7D45 #1F287D #7D1F57
split-complementary
#7D741F #1F577D #451F7D
monochromatic
#1B1907 #4C4613 #7D741F #AEA22B #D1C445
Accessibility & contrast
On white
4.78
#7D741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7D741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D741F
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D741F | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#876C63
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d741f; /* rgb */ color: rgb(125, 116, 31); /* oklch */ color: oklch(55.1% 0.103 103.1);
Tailwind
colors: {
custom: {
50: '#a69b61',
500: '#7d741f',
950: '#000000',
},
}SCSS
$custom: #7d741f; $custom-light: #a69b61; $custom-dark: #000000;
JSON
{
"hex": "#7d741f",
"rgb": {
"r": 125,
"g": 116,
"b": 31
},
"hsl": {
"h": 54.255,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.5511,
"c": 0.10314,
"h": 103.1
},
"luminance": 0.1695
}Semantic roles & 50–950 ramp
primary
#7D741F
secondary
#4852B0
accent
#54E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79