#7F741F#7F741F
#7F741F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.103 H 101.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F741F |
|---|---|
| RGB | rgb(127, 116, 31) |
| HSL | hsl(53, 61%, 31%) |
| HSV | hsv(53, 76%, 50%) |
| CMYK | cmyk(0%, 8.7%, 75.6%, 50.2%) |
| CIE-LAB | lab(48.39, -5.87, 45.69) |
| CIE-LCH | lch(48.39, 46.07, 97.32°) |
| OKLab | oklab(55.31% -0.0209 0.1009) |
| OKLCH | oklch(55.31% 0.103 101.7) |
| XYZ | xyz(15.2458, 17.1024, 3.7941) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.45
Brown Green
#706C11
ΔE00 4.27
Browny Green
#6F6C0A
ΔE00 4.58
Hazel
#8E7618
ΔE00 4.75
Olive (survey)
#6E750E
ΔE00 5.73
Brownish Green
#6A6E09
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F741F #1F2A7F
analogous
#7F441F #7F741F #5A7F1F
triadic
#7F741F #1F7F74 #741F7F
tetradic
#7F741F #1F7F44 #1F2A7F #7F1F5A
square
#7F741F #1F7F44 #1F2A7F #7F1F5A
split-complementary
#7F741F #1F5A7F #441F7F
monochromatic
#1D1A07 #4E4713 #7F741F #B0A12B #D2C246
Accessibility & contrast
On white
4.75
#7F741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7F741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F741F
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F741F | 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)
#7F7010
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f741f; /* rgb */ color: rgb(127, 116, 31); /* oklch */ color: oklch(55.3% 0.103 101.7);
Tailwind
colors: {
custom: {
50: '#a79b61',
500: '#7f741f',
950: '#000000',
},
}SCSS
$custom: #7f741f; $custom-light: #a79b61; $custom-dark: #000000;
JSON
{
"hex": "#7f741f",
"rgb": {
"r": 127,
"g": 116,
"b": 31
},
"hsl": {
"h": 53.125,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.55308,
"c": 0.10304,
"h": 101.7
},
"luminance": 0.17102
}Semantic roles & 50–950 ramp
primary
#7F741F
secondary
#4854B2
accent
#56E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79