#7F741D#7F741D
#7F741D is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.104 H 101.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F741D |
|---|---|
| RGB | rgb(127, 116, 29) |
| HSL | hsl(53, 63%, 31%) |
| HSV | hsv(53, 77%, 50%) |
| CMYK | cmyk(0%, 8.7%, 77.2%, 50.2%) |
| CIE-LAB | lab(48.38, -5.96, 46.45) |
| CIE-LCH | lch(48.38, 46.83, 97.32°) |
| OKLab | oklab(55.29% -0.0214 0.1021) |
| OKLCH | oklch(55.29% 0.104 101.8) |
| XYZ | xyz(15.2203, 17.0922, 3.6596) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.23
Brown Green
#706C11
ΔE00 4.25
Browny Green
#6F6C0A
ΔE00 4.53
Hazel
#8E7618
ΔE00 4.71
Olive (survey)
#6E750E
ΔE00 5.68
Olive
#808000
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F741D #1D287F
analogous
#7F431D #7F741D #597F1D
triadic
#7F741D #1D7F74 #741D7F
tetradic
#7F741D #1D7F43 #1D287F #7F1D59
square
#7F741D #1D7F43 #1D287F #7F1D59
split-complementary
#7F741D #1D597F #431D7F
monochromatic
#1B1906 #4D4612 #7F741D #B1A228 #D4C442
Accessibility & contrast
On white
4.75
#7F741D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7F741D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F741D
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F741D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F741D | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700C
Deuteranopia (green-blind)
#837523
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f741d; /* rgb */ color: rgb(127, 116, 29); /* oklch */ color: oklch(55.3% 0.104 101.8);
Tailwind
colors: {
custom: {
50: '#a79b60',
500: '#7f741d',
950: '#000000',
},
}SCSS
$custom: #7f741d; $custom-light: #a79b60; $custom-dark: #000000;
JSON
{
"hex": "#7f741d",
"rgb": {
"r": 127,
"g": 116,
"b": 29
},
"hsl": {
"h": 53.265,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.55293,
"c": 0.10432,
"h": 101.8
},
"luminance": 0.17092
}Semantic roles & 50–950 ramp
primary
#7F741D
secondary
#4552B2
accent
#54E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79