#7C7233#7C7233
#7C7233 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.085 H 100.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7233 |
|---|---|
| RGB | rgb(124, 114, 51) |
| HSL | hsl(52, 42%, 34%) |
| HSV | hsv(52, 59%, 49%) |
| CMYK | cmyk(0%, 8.1%, 58.9%, 51.4%) |
| CIE-LAB | lab(47.70, -4.80, 35.71) |
| CIE-LCH | lch(47.70, 36.03, 97.66°) |
| OKLab | oklab(54.75% -0.0153 0.0831) |
| OKLCH | oklch(54.75% 0.085 100.4) |
| XYZ | xyz(14.9276, 16.5593, 5.5413) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 5.27
Ugly Brown
#7D7103
ΔE00 5.66
Olive Drab
#6F7632
ΔE00 5.67
Browny Green
#6F6C0A
ΔE00 5.84
Hazel
#8E7618
ΔE00 6.85
Brownish Green
#6A6E09
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7233 #333D7C
analogous
#7C4E33 #7C7233 #627C33
triadic
#7C7233 #337C72 #72337C
tetradic
#7C7233 #337C4E #333D7C #7C3362
square
#7C7233 #337C4E #333D7C #7C3362
split-complementary
#7C7233 #33627C #4E337C
monochromatic
#25220F #514A21 #7C7233 #A79A45 #C1B568
Accessibility & contrast
On white
4.87
#7C7233 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7C7233 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7233
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7233 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#856B64
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c7233; /* rgb */ color: rgb(124, 114, 51); /* oklch */ color: oklch(54.7% 0.085 100.4);
Tailwind
colors: {
custom: {
50: '#a49a6d',
500: '#7c7233',
950: '#000000',
},
}SCSS
$custom: #7c7233; $custom-light: #a49a6d; $custom-dark: #000000;
JSON
{
"hex": "#7c7233",
"rgb": {
"r": 124,
"g": 114,
"b": 51
},
"hsl": {
"h": 51.781,
"s": 41.714,
"l": 34.314
},
"oklch": {
"l": 0.54749,
"c": 0.08452,
"h": 100.4
},
"luminance": 0.16559
}Semantic roles & 50–950 ramp
primary
#7C7233
secondary
#626CA9
accent
#67D256
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A