#767A1B#767A1B
#767A1B is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.113 H 112.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #767A1B |
|---|---|
| RGB | rgb(118, 122, 27) |
| HSL | hsl(63, 64%, 29%) |
| HSV | hsv(63, 78%, 48%) |
| CMYK | cmyk(3.3%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(49.31, -13.57, 47.76) |
| CIE-LCH | lch(49.31, 49.65, 105.86°) |
| OKLab | oklab(55.84% -0.0424 0.1049) |
| OKLCH | oklch(55.84% 0.113 112) |
| XYZ | xyz(14.6291, 17.8501, 3.7115) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.39
Poop Green
#6F7C00
ΔE00 2.85
Murky Green
#6C7A0E
ΔE00 2.85
Shit Green
#758000
ΔE00 3.25
Olive
#808000
ΔE00 3.95
Olive Green
#677A04
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#767A1B #1F1B7A
analogous
#7A4F1B #767A1B #477A1B
triadic
#767A1B #1B767A #7A1B76
tetradic
#767A1B #1B7A4F #1F1B7A #7A1B47
square
#767A1B #1B7A4F #1F1B7A #7A1B47
split-complementary
#767A1B #1B477A #4F1B7A
monochromatic
#181906 #464810 #767A1B #A6AC26 #CDD43C
Accessibility & contrast
On white
4.60
#767A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#767A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #767A1B
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##767A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##767A1B | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847405
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#7F7268
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #767a1b; /* rgb */ color: rgb(118, 122, 27); /* oklch */ color: oklch(55.8% 0.113 112.0);
Tailwind
colors: {
custom: {
50: '#a1a060',
500: '#767a1b',
950: '#000000',
},
}SCSS
$custom: #767a1b; $custom-light: #a1a060; $custom-dark: #000000;
JSON
{
"hex": "#767a1b",
"rgb": {
"r": 118,
"g": 122,
"b": 27
},
"hsl": {
"h": 62.526,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.5584,
"c": 0.11309,
"h": 112
},
"luminance": 0.1785
}Semantic roles & 50–950 ramp
primary
#767A1B
secondary
#4743AE
accent
#41E748
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79