#7C762F#7C762F
#7C762F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.092 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7C762F |
|---|---|
| RGB | rgb(124, 118, 47) |
| HSL | hsl(55, 45%, 34%) |
| HSV | hsv(55, 62%, 49%) |
| CMYK | cmyk(0%, 4.8%, 62.1%, 51.4%) |
| CIE-LAB | lab(48.82, -7.38, 38.96) |
| CIE-LCH | lch(48.82, 39.65, 100.72°) |
| OKLab | oklab(55.62% -0.0231 0.0895) |
| OKLCH | oklch(55.62% 0.092 104.5) |
| XYZ | xyz(15.3042, 17.4477, 5.2504) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.46
Brown Green
#706C11
ΔE00 4.92
Ugly Brown
#7D7103
ΔE00 5.09
Browny Green
#6F6C0A
ΔE00 5.34
Olive (survey)
#6E750E
ΔE00 5.37
Drab
#828344
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C762F #2F357C
analogous
#7C4F2F #7C762F #5B7C2F
triadic
#7C762F #2F7C76 #762F7C
tetradic
#7C762F #2F7C4F #2F357C #7C2F5B
square
#7C762F #2F7C4F #2F357C #7C2F5B
split-complementary
#7C762F #2F5B7C #4F2F7C
monochromatic
#23220D #504C1E #7C762F #A8A040 #C3BC62
Accessibility & contrast
On white
4.68
#7C762F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7C762F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C762F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C762F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C762F | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#856E67
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c762f; /* rgb */ color: rgb(124, 118, 47); /* oklch */ color: oklch(55.6% 0.092 104.5);
Tailwind
colors: {
custom: {
50: '#a49d6b',
500: '#7c762f',
950: '#000000',
},
}SCSS
$custom: #7c762f; $custom-light: #a49d6b; $custom-dark: #000000;
JSON
{
"hex": "#7c762f",
"rgb": {
"r": 124,
"g": 118,
"b": 47
},
"hsl": {
"h": 55.325,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.55624,
"c": 0.09248,
"h": 104.5
},
"luminance": 0.17447
}Semantic roles & 50–950 ramp
primary
#7C762F
secondary
#5C63AA
accent
#5DD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A