#767E2F#767E2F
#767E2F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.103 H 114.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #767E2F |
|---|---|
| RGB | rgb(118, 126, 47) |
| HSL | hsl(66, 46%, 34%) |
| HSV | hsv(66, 63%, 49%) |
| CMYK | cmyk(6.3%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(50.66, -14.49, 40.83) |
| CIE-LCH | lch(50.66, 43.33, 109.53°) |
| OKLab | oklab(56.97% -0.0428 0.0937) |
| OKLCH | oklch(56.97% 0.103 114.6) |
| XYZ | xyz(15.4455, 18.9787, 5.5384) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.46
Murky Green
#6C7A0E
ΔE00 4.00
Khaki Green
#728639
ΔE00 4.13
Drab
#828344
ΔE00 4.23
Dirty Green
#667E2C
ΔE00 4.39
Poop Green
#6F7C00
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#767E2F #372F7E
analogous
#7E5F2F #767E2F #4F7E2F
triadic
#767E2F #2F767E #7E2F76
tetradic
#767E2F #2F7E5F #372F7E #7E2F4F
square
#767E2F #2F7E5F #372F7E #7E2F4F
split-complementary
#767E2F #2F4F7E #5F2F7E
monochromatic
#23250E #4C511E #767E2F #A0AB40 #BBC563
Accessibility & contrast
On white
4.38
#767E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#767E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #767E2F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##767E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##767E2F | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#7D776D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #767e2f; /* rgb */ color: rgb(118, 126, 47); /* oklch */ color: oklch(57.0% 0.103 114.6);
Tailwind
colors: {
custom: {
50: '#a0a36b',
500: '#767e2f',
950: '#000000',
},
}SCSS
$custom: #767e2f; $custom-light: #a0a36b; $custom-dark: #000000;
JSON
{
"hex": "#767e2f",
"rgb": {
"r": 118,
"g": 126,
"b": 47
},
"hsl": {
"h": 66.076,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.56968,
"c": 0.10299,
"h": 114.6
},
"luminance": 0.18978
}Semantic roles & 50–950 ramp
primary
#767E2F
secondary
#655DAC
accent
#52D560
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F07
muted
#7F7F7A