#77831A#77831A
#77831A is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.124 H 116.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #77831A |
|---|---|
| RGB | rgb(119, 131, 26) |
| HSL | hsl(67, 67%, 31%) |
| HSV | hsv(67, 80%, 51%) |
| CMYK | cmyk(9.2%, 0%, 80.2%, 48.6%) |
| CIE-LAB | lab(52.10, -17.95, 50.68) |
| CIE-LCH | lch(52.10, 53.77, 109.51°) |
| OKLab | oklab(58.09% -0.0547 0.1108) |
| OKLCH | oklch(58.09% 0.124 116.3) |
| XYZ | xyz(15.9109, 20.2294, 4.0436) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.95
Shit Green
#758000
ΔE00 1.95
Poop Green
#6F7C00
ΔE00 3.02
Murky Green
#6C7A0E
ΔE00 3.68
Olive
#808000
ΔE00 4.05
Olive Green
#677A04
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77831A #261A83
analogous
#835A1A #77831A #42831A
triadic
#77831A #1A7783 #831A77
tetradic
#77831A #1A835A #261A83 #831A42
square
#77831A #1A835A #261A83 #831A42
split-complementary
#77831A #1A4283 #5A1A83
monochromatic
#1A1D06 #495010 #77831A #A5B624 #C7D93F
Accessibility & contrast
On white
4.16
#77831A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#77831A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77831A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77831A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77831A | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #77831a; /* rgb */ color: rgb(119, 131, 26); /* oklch */ color: oklch(58.1% 0.124 116.3);
Tailwind
colors: {
custom: {
50: '#a1a661',
500: '#77831a',
950: '#000000',
},
}SCSS
$custom: #77831a; $custom-light: #a1a661; $custom-dark: #000000;
JSON
{
"hex": "#77831a",
"rgb": {
"r": 119,
"g": 131,
"b": 26
},
"hsl": {
"h": 66.857,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.58089,
"c": 0.12357,
"h": 116.3
},
"luminance": 0.20229
}Semantic roles & 50–950 ramp
primary
#77831A
secondary
#4F42B7
accent
#3EEA52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A