#7F7423#7F7423
#7F7423 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.100 H 101.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7423 |
|---|---|
| RGB | rgb(127, 116, 35) |
| HSL | hsl(53, 57%, 32%) |
| HSV | hsv(53, 72%, 50%) |
| CMYK | cmyk(0%, 8.7%, 72.4%, 50.2%) |
| CIE-LAB | lab(48.42, -5.66, 44.09) |
| CIE-LCH | lch(48.42, 44.45, 97.31°) |
| OKLab | oklab(55.34% -0.0199 0.0983) |
| OKLCH | oklch(55.34% 0.1 101.4) |
| XYZ | xyz(15.3018, 17.1248, 4.0892) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.92
Brown Green
#706C11
ΔE00 4.37
Browny Green
#6F6C0A
ΔE00 4.73
Hazel
#8E7618
ΔE00 4.88
Olive (survey)
#6E750E
ΔE00 5.87
Brownish Green
#6A6E09
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7423 #232E7F
analogous
#7F4623 #7F7423 #5C7F23
triadic
#7F7423 #237F74 #74237F
tetradic
#7F7423 #237F46 #232E7F #7F235C
square
#7F7423 #237F46 #232E7F #7F235C
split-complementary
#7F7423 #235C7F #46237F
monochromatic
#1F1C09 #4F4816 #7F7423 #AFA030 #CEBF4E
Accessibility & contrast
On white
4.75
#7F7423 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7F7423 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7423
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7423 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7423 | 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)
#7F7017
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#896B64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7423; /* rgb */ color: rgb(127, 116, 35); /* oklch */ color: oklch(55.3% 0.100 101.4);
Tailwind
colors: {
custom: {
50: '#a79b63',
500: '#7f7423',
950: '#000000',
},
}SCSS
$custom: #7f7423; $custom-light: #a79b63; $custom-dark: #000000;
JSON
{
"hex": "#7f7423",
"rgb": {
"r": 127,
"g": 116,
"b": 35
},
"hsl": {
"h": 52.826,
"s": 56.79,
"l": 31.765
},
"oklch": {
"l": 0.55339,
"c": 0.10028,
"h": 101.4
},
"luminance": 0.17124
}Semantic roles & 50–950 ramp
primary
#7F7423
secondary
#4C59B1
accent
#5AE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A