#7D7231#7D7231
#7D7231 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.087 H 99.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7231 |
|---|---|
| RGB | rgb(125, 114, 49) |
| HSL | hsl(51, 44%, 34%) |
| HSV | hsv(51, 61%, 49%) |
| CMYK | cmyk(0%, 8.8%, 60.8%, 51%) |
| CIE-LAB | lab(47.77, -4.51, 36.83) |
| CIE-LCH | lch(47.77, 37.11, 96.98°) |
| OKLab | oklab(54.82% -0.0147 0.0853) |
| OKLCH | oklch(54.82% 0.087 99.8) |
| XYZ | xyz(15.0297, 16.6170, 5.3208) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 5.16
Ugly Brown
#7D7103
ΔE00 5.24
Browny Green
#6F6C0A
ΔE00 5.71
Olive Drab
#6F7632
ΔE00 6.00
Hazel
#8E7618
ΔE00 6.36
Brownish Green
#6A6E09
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7231 #313C7D
analogous
#7D4C31 #7D7231 #627D31
triadic
#7D7231 #317D72 #72317D
tetradic
#7D7231 #317D4C #313C7D #7D3162
square
#7D7231 #317D4C #313C7D #7D3162
split-complementary
#7D7231 #31627D #4C317D
monochromatic
#25220F #514A20 #7D7231 #A99A42 #C3B566
Accessibility & contrast
On white
4.86
#7D7231 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7D7231 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D7231
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D7231 | 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)
#7C6F2A
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#866A64
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d7231; /* rgb */ color: rgb(125, 114, 49); /* oklch */ color: oklch(54.8% 0.087 99.8);
Tailwind
colors: {
custom: {
50: '#a59a6c',
500: '#7d7231',
950: '#000000',
},
}SCSS
$custom: #7d7231; $custom-light: #a59a6c; $custom-dark: #000000;
JSON
{
"hex": "#7d7231",
"rgb": {
"r": 125,
"g": 114,
"b": 49
},
"hsl": {
"h": 51.316,
"s": 43.678,
"l": 34.118
},
"oklch": {
"l": 0.54824,
"c": 0.08652,
"h": 99.8
},
"luminance": 0.16616
}Semantic roles & 50–950 ramp
primary
#7D7231
secondary
#606AAA
accent
#67D354
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A