#7D741B#7D741B
#7D741B is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7D741B |
|---|---|
| RGB | rgb(125, 116, 27) |
| HSL | hsl(54, 64%, 30%) |
| HSV | hsv(54, 78%, 49%) |
| CMYK | cmyk(0%, 7.2%, 78.4%, 51%) |
| CIE-LAB | lab(48.17, -7.00, 46.93) |
| CIE-LCH | lch(48.17, 47.45, 98.48°) |
| OKLab | oklab(55.08% -0.0244 0.1028) |
| OKLCH | oklch(55.08% 0.106 103.4) |
| XYZ | xyz(14.9013, 16.9305, 3.5197) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.21
Brown Green
#706C11
ΔE00 3.79
Browny Green
#6F6C0A
ΔE00 4.02
Olive (survey)
#6E750E
ΔE00 4.98
Brownish Green
#6A6E09
ΔE00 5.21
Hazel
#8E7618
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D741B #1B247D
analogous
#7D431B #7D741B #557D1B
triadic
#7D741B #1B7D74 #741B7D
tetradic
#7D741B #1B7D43 #1B247D #7D1B55
square
#7D741B #1B7D43 #1B247D #7D1B55
split-complementary
#7D741B #1B557D #431B7D
monochromatic
#191705 #4B4510 #7D741B #AFA326 #D5C73D
Accessibility & contrast
On white
4.79
#7D741B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7D741B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D741B
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D741B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D741B | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7d741b; /* rgb */ color: rgb(125, 116, 27); /* oklch */ color: oklch(55.1% 0.106 103.4);
Tailwind
colors: {
custom: {
50: '#a69b5f',
500: '#7d741b',
950: '#000000',
},
}SCSS
$custom: #7d741b; $custom-light: #a69b5f; $custom-dark: #000000;
JSON
{
"hex": "#7d741b",
"rgb": {
"r": 125,
"g": 116,
"b": 27
},
"hsl": {
"h": 54.49,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.55082,
"c": 0.10566,
"h": 103.4
},
"luminance": 0.1693
}Semantic roles & 50–950 ramp
primary
#7D741B
secondary
#434DB1
accent
#50E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79