#7E761F#7E761F
#7E761F is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.105 H 104.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E761F |
|---|---|
| RGB | rgb(126, 118, 31) |
| HSL | hsl(55, 61%, 31%) |
| HSV | hsv(55, 75%, 49%) |
| CMYK | cmyk(0%, 6.3%, 75.4%, 50.6%) |
| CIE-LAB | lab(48.87, -7.46, 46.12) |
| CIE-LCH | lch(48.87, 46.72, 99.18°) |
| OKLab | oklab(55.67% -0.0253 0.1019) |
| OKLCH | oklch(55.67% 0.105 104) |
| XYZ | xyz(15.3306, 17.4920, 3.8648) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.93
Brown Green
#706C11
ΔE00 4.34
Browny Green
#6F6C0A
ΔE00 4.57
Olive (survey)
#6E750E
ΔE00 4.87
Olive
#808000
ΔE00 5.00
Brownish Green
#6A6E09
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E761F #1F277E
analogous
#7E461F #7E761F #567E1F
triadic
#7E761F #1F7E76 #761F7E
tetradic
#7E761F #1F7E46 #1F277E #7E1F56
square
#7E761F #1F7E46 #1F277E #7E1F56
split-complementary
#7E761F #1F567E #461F7E
monochromatic
#1C1A07 #4D4813 #7E761F #AFA42B #D1C646
Accessibility & contrast
On white
4.67
#7E761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7E761F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7E761F
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E761F | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7e761f; /* rgb */ color: rgb(126, 118, 31); /* oklch */ color: oklch(55.7% 0.105 104.0);
Tailwind
colors: {
custom: {
50: '#a69d61',
500: '#7e761f',
950: '#000000',
},
}SCSS
$custom: #7e761f; $custom-light: #a69d61; $custom-dark: #000000;
JSON
{
"hex": "#7e761f",
"rgb": {
"r": 126,
"g": 118,
"b": 31
},
"hsl": {
"h": 54.947,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.55671,
"c": 0.10495,
"h": 104
},
"luminance": 0.17491
}Semantic roles & 50–950 ramp
primary
#7E761F
secondary
#4851B1
accent
#52E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A