#7D761F#7D761F
#7D761F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.105 H 104.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7D761F |
|---|---|
| RGB | rgb(125, 118, 31) |
| HSL | hsl(56, 60%, 31%) |
| HSV | hsv(56, 75%, 49%) |
| CMYK | cmyk(0%, 5.6%, 75.2%, 51%) |
| CIE-LAB | lab(48.78, -7.93, 46.00) |
| CIE-LCH | lch(48.78, 46.68, 99.78°) |
| OKLab | oklab(55.57% -0.0266 0.1016) |
| OKLCH | oklch(55.57% 0.105 104.7) |
| XYZ | xyz(15.1838, 17.4164, 3.8579) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.08
Brown Green
#706C11
ΔE00 4.19
Browny Green
#6F6C0A
ΔE00 4.41
Olive (survey)
#6E750E
ΔE00 4.55
Olive
#808000
ΔE00 4.93
Brownish Green
#6A6E09
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D761F #1F267D
analogous
#7D471F #7D761F #557D1F
triadic
#7D761F #1F7D76 #761F7D
tetradic
#7D761F #1F7D47 #1F267D #7D1F55
square
#7D761F #1F7D47 #1F267D #7D1F55
split-complementary
#7D761F #1F557D #471F7D
monochromatic
#1B1907 #4C4813 #7D761F #AEA42B #D1C745
Accessibility & contrast
On white
4.68
#7D761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7D761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D761F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D761F | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7d761f; /* rgb */ color: rgb(125, 118, 31); /* oklch */ color: oklch(55.6% 0.105 104.7);
Tailwind
colors: {
custom: {
50: '#a69d61',
500: '#7d761f',
950: '#000000',
},
}SCSS
$custom: #7d761f; $custom-light: #a69d61; $custom-dark: #000000;
JSON
{
"hex": "#7d761f",
"rgb": {
"r": 125,
"g": 118,
"b": 31
},
"hsl": {
"h": 55.532,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.55574,
"c": 0.10505,
"h": 104.7
},
"luminance": 0.17416
}Semantic roles & 50–950 ramp
primary
#7D761F
secondary
#484FB0
accent
#50E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A