#77831B#77831B
#77831B is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.123 H 116.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #77831B |
|---|---|
| RGB | rgb(119, 131, 27) |
| HSL | hsl(67, 66%, 31%) |
| HSV | hsv(67, 79%, 51%) |
| CMYK | cmyk(9.2%, 0%, 79.4%, 48.6%) |
| CIE-LAB | lab(52.10, -17.91, 50.36) |
| CIE-LCH | lch(52.10, 53.45, 109.57°) |
| OKLab | oklab(58.1% -0.0544 0.1103) |
| OKLCH | oklch(58.1% 0.123 116.3) |
| XYZ | xyz(15.9223, 20.2339, 4.1035) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 2.03
Shit Green
#758000
ΔE00 2.04
Poop Green
#6F7C00
ΔE00 3.06
Murky Green
#6C7A0E
ΔE00 3.69
Olive
#808000
ΔE00 4.11
Olive Green
#677A04
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77831B #271B83
analogous
#835B1B #77831B #43831B
triadic
#77831B #1B7783 #831B77
tetradic
#77831B #1B835B #271B83 #831B43
square
#77831B #1B835B #271B83 #831B43
split-complementary
#77831B #1B4383 #5B1B83
monochromatic
#1B1E06 #495011 #77831B #A5B625 #C6D841
Accessibility & contrast
On white
4.16
#77831B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#77831B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #77831B
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77831B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77831B | 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)
#8C7D25
Tritanopia (blue-blind)
#7F7B70
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #77831b; /* rgb */ color: rgb(119, 131, 27); /* oklch */ color: oklch(58.1% 0.123 116.3);
Tailwind
colors: {
custom: {
50: '#a1a661',
500: '#77831b',
950: '#000000',
},
}SCSS
$custom: #77831b; $custom-light: #a1a661; $custom-dark: #000000;
JSON
{
"hex": "#77831b",
"rgb": {
"r": 119,
"g": 131,
"b": 27
},
"hsl": {
"h": 66.923,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.58095,
"c": 0.12303,
"h": 116.3
},
"luminance": 0.20234
}Semantic roles & 50–950 ramp
primary
#77831B
secondary
#5143B6
accent
#3FE953
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A