#7C731A#7C731A
#7C731A is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.105 H 103.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C731A |
|---|---|
| RGB | rgb(124, 115, 26) |
| HSL | hsl(54, 65%, 29%) |
| HSV | hsv(54, 79%, 49%) |
| CMYK | cmyk(0%, 7.3%, 79%, 51.4%) |
| CIE-LAB | lab(47.78, -6.95, 46.89) |
| CIE-LCH | lch(47.78, 47.41, 98.43°) |
| OKLab | oklab(54.75% -0.0243 0.1026) |
| OKLCH | oklch(54.75% 0.105 103.3) |
| XYZ | xyz(14.6300, 16.6218, 3.4148) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.07
Brown Green
#706C11
ΔE00 3.44
Browny Green
#6F6C0A
ΔE00 3.69
Olive (survey)
#6E750E
ΔE00 4.94
Brownish Green
#6A6E09
ΔE00 4.98
Hazel
#8E7618
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C731A #1A237C
analogous
#7C421A #7C731A #547C1A
triadic
#7C731A #1A7C73 #731A7C
tetradic
#7C731A #1A7C42 #1A237C #7C1A54
square
#7C731A #1A7C42 #1A237C #7C1A54
split-complementary
#7C731A #1A547C #421A7C
monochromatic
#191705 #49440F #7C731A #AFA225 #D6C83B
Accessibility & contrast
On white
4.86
#7C731A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7C731A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C731A
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C731A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C731A | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c731a; /* rgb */ color: rgb(124, 115, 26); /* oklch */ color: oklch(54.7% 0.105 103.3);
Tailwind
colors: {
custom: {
50: '#a59b5f',
500: '#7c731a',
950: '#000000',
},
}SCSS
$custom: #7c731a; $custom-light: #a59b5f; $custom-dark: #000000;
JSON
{
"hex": "#7c731a",
"rgb": {
"r": 124,
"g": 115,
"b": 26
},
"hsl": {
"h": 54.49,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.54745,
"c": 0.1054,
"h": 103.3
},
"luminance": 0.16621
}Semantic roles & 50–950 ramp
primary
#7C731A
secondary
#424CB0
accent
#4FE840
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79