#7C761F#7C761F
#7C761F is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.105 H 105.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C761F |
|---|---|
| RGB | rgb(124, 118, 31) |
| HSL | hsl(56, 60%, 30%) |
| HSV | hsv(56, 75%, 49%) |
| CMYK | cmyk(0%, 4.8%, 75%, 51.4%) |
| CIE-LAB | lab(48.69, -8.39, 45.88) |
| CIE-LCH | lch(48.69, 46.64, 100.37°) |
| OKLab | oklab(55.48% -0.0278 0.1014) |
| OKLCH | oklch(55.48% 0.105 105.4) |
| XYZ | xyz(15.0386, 17.3415, 3.8511) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.25
Brown Green
#706C11
ΔE00 4.05
Olive (survey)
#6E750E
ΔE00 4.24
Browny Green
#6F6C0A
ΔE00 4.26
Olive
#808000
ΔE00 4.89
Brownish Green
#6A6E09
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C761F #1F257C
analogous
#7C471F #7C761F #537C1F
triadic
#7C761F #1F7C76 #761F7C
tetradic
#7C761F #1F7C47 #1F257C #7C1F53
square
#7C761F #1F7C47 #1F257C #7C1F53
split-complementary
#7C761F #1F537C #471F7C
monochromatic
#1A1907 #4B4713 #7C761F #ADA52B #D0C745
Accessibility & contrast
On white
4.70
#7C761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7C761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C761F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C761F | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#866E65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c761f; /* rgb */ color: rgb(124, 118, 31); /* oklch */ color: oklch(55.5% 0.105 105.4);
Tailwind
colors: {
custom: {
50: '#a59d61',
500: '#7c761f',
950: '#000000',
},
}SCSS
$custom: #7c761f; $custom-light: #a59d61; $custom-dark: #000000;
JSON
{
"hex": "#7c761f",
"rgb": {
"r": 124,
"g": 118,
"b": 31
},
"hsl": {
"h": 56.129,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.55477,
"c": 0.10516,
"h": 105.4
},
"luminance": 0.17341
}Semantic roles & 50–950 ramp
primary
#7C761F
secondary
#484EAF
accent
#4FE345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A