#76811A#76811A
#76811A is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.122 H 115.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #76811A |
|---|---|
| RGB | rgb(118, 129, 26) |
| HSL | hsl(66, 66%, 30%) |
| HSV | hsv(66, 80%, 51%) |
| CMYK | cmyk(8.5%, 0%, 79.8%, 49.4%) |
| CIE-LAB | lab(51.41, -17.35, 50.03) |
| CIE-LCH | lch(51.41, 52.95, 109.13°) |
| OKLab | oklab(57.52% -0.0529 0.1095) |
| OKLCH | oklch(57.52% 0.122 115.8) |
| XYZ | xyz(15.5084, 19.6269, 3.9485) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.76
Swamp Green
#748500
ΔE00 2.42
Poop Green
#6F7C00
ΔE00 2.49
Murky Green
#6C7A0E
ΔE00 3.05
Olive Green
#677A04
ΔE00 3.89
Olive
#808000
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#76811A #251A81
analogous
#81591A #76811A #42811A
triadic
#76811A #1A7681 #811A76
tetradic
#76811A #1A8159 #251A81 #811A42
square
#76811A #1A8159 #251A81 #811A42
split-complementary
#76811A #1A4281 #591A81
monochromatic
#191B05 #474E10 #76811A #A5B424 #C7D83D
Accessibility & contrast
On white
4.26
#76811A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#76811A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #76811A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##76811A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##76811A | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #76811a; /* rgb */ color: rgb(118, 129, 26); /* oklch */ color: oklch(57.5% 0.122 115.8);
Tailwind
colors: {
custom: {
50: '#a1a560',
500: '#76811a',
950: '#000000',
},
}SCSS
$custom: #76811a; $custom-light: #a1a560; $custom-dark: #000000;
JSON
{
"hex": "#76811a",
"rgb": {
"r": 118,
"g": 129,
"b": 26
},
"hsl": {
"h": 66.408,
"s": 66.452,
"l": 30.392
},
"oklch": {
"l": 0.57521,
"c": 0.12161,
"h": 115.8
},
"luminance": 0.19627
}Semantic roles & 50–950 ramp
primary
#76811A
secondary
#4E42B5
accent
#3EE951
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79