#7F751D#7F751D
#7F751D is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.105 H 102.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F751D |
|---|---|
| RGB | rgb(127, 117, 29) |
| HSL | hsl(54, 63%, 31%) |
| HSV | hsv(54, 77%, 50%) |
| CMYK | cmyk(0%, 7.9%, 77.2%, 50.2%) |
| CIE-LAB | lab(48.67, -6.53, 46.72) |
| CIE-LCH | lch(48.67, 47.18, 97.95°) |
| OKLab | oklab(55.52% -0.023 0.1027) |
| OKLCH | oklch(55.52% 0.105 102.6) |
| XYZ | xyz(15.3362, 17.3240, 3.6982) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.40
Brown Green
#706C11
ΔE00 4.35
Browny Green
#6F6C0A
ΔE00 4.60
Hazel
#8E7618
ΔE00 4.89
Olive
#808000
ΔE00 5.38
Olive (survey)
#6E750E
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F751D #1D277F
analogous
#7F441D #7F751D #587F1D
triadic
#7F751D #1D7F75 #751D7F
tetradic
#7F751D #1D7F44 #1D277F #7F1D58
square
#7F751D #1D7F44 #1D277F #7F1D58
split-complementary
#7F751D #1D587F #441D7F
monochromatic
#1B1906 #4D4712 #7F751D #B1A328 #D4C542
Accessibility & contrast
On white
4.70
#7F751D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7F751D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F751D
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F751D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F751D | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#837623
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f751d; /* rgb */ color: rgb(127, 117, 29); /* oklch */ color: oklch(55.5% 0.105 102.6);
Tailwind
colors: {
custom: {
50: '#a79c60',
500: '#7f751d',
950: '#000000',
},
}SCSS
$custom: #7f751d; $custom-light: #a79c60; $custom-dark: #000000;
JSON
{
"hex": "#7f751d",
"rgb": {
"r": 127,
"g": 117,
"b": 29
},
"hsl": {
"h": 53.878,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.55524,
"c": 0.10522,
"h": 102.6
},
"luminance": 0.17323
}Semantic roles & 50–950 ramp
primary
#7F751D
secondary
#4551B2
accent
#53E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79