#7D761B#7D761B
#7D761B is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.108 H 104.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7D761B |
|---|---|
| RGB | rgb(125, 118, 27) |
| HSL | hsl(56, 64%, 30%) |
| HSV | hsv(56, 78%, 49%) |
| CMYK | cmyk(0%, 5.6%, 78.4%, 51%) |
| CIE-LAB | lab(48.76, -8.11, 47.47) |
| CIE-LCH | lch(48.76, 48.16, 99.70°) |
| OKLab | oklab(55.55% -0.0275 0.104) |
| OKLCH | oklch(55.55% 0.108 104.8) |
| XYZ | xyz(15.1344, 17.3966, 3.5974) |
| Luminance | 0.1740 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.78
Brown Green
#706C11
ΔE00 4.17
Browny Green
#6F6C0A
ΔE00 4.33
Olive (survey)
#6E750E
ΔE00 4.48
Olive
#808000
ΔE00 4.66
Brownish Green
#6A6E09
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D761B #1B227D
analogous
#7D451B #7D761B #537D1B
triadic
#7D761B #1B7D76 #761B7D
tetradic
#7D761B #1B7D45 #1B227D #7D1B53
square
#7D761B #1B7D45 #1B227D #7D1B53
split-complementary
#7D761B #1B537D #451B7D
monochromatic
#191805 #4B4610 #7D761B #AFA626 #D5CA3D
Accessibility & contrast
On white
4.69
#7D761B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7D761B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D761B
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D761B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D761B | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#837622
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7d761b; /* rgb */ color: rgb(125, 118, 27); /* oklch */ color: oklch(55.5% 0.108 104.8);
Tailwind
colors: {
custom: {
50: '#a69d5f',
500: '#7d761b',
950: '#000000',
},
}SCSS
$custom: #7d761b; $custom-light: #a69d5f; $custom-dark: #000000;
JSON
{
"hex": "#7d761b",
"rgb": {
"r": 125,
"g": 118,
"b": 27
},
"hsl": {
"h": 55.714,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.55546,
"c": 0.10754,
"h": 104.8
},
"luminance": 0.17396
}Semantic roles & 50–950 ramp
primary
#7D761B
secondary
#434BB1
accent
#4CE740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79