#77871A#77871A

#77871A is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.128 H 118.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#77871A
RGBrgb(119, 135, 26)
HSLhsl(69, 68%, 32%)
HSVhsv(69, 81%, 53%)
CMYKcmyk(11.9%, 0%, 80.7%, 47.1%)
CIE-LABlab(53.30, -20.03, 51.77)
CIE-LCHlch(53.30, 55.51, 111.15°)
OKLaboklab(59.06% -0.0604 0.1132)
OKLCHoklch(59.06% 0.128 118.1)
XYZxyz(16.4586, 21.3246, 4.2261)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77871A #2A1A87
analogous
#87611A #77871A #41871A
triadic
#77871A #1A7787 #871A77
tetradic
#77871A #1A8761 #2A1A87 #871A41
square
#77871A #1A8761 #2A1A87 #871A41
split-complementary
#77871A #1A4187 #611A87
monochromatic
#1D2006 #4A5410 #77871A #A4BA24 #C4DA41

Accessibility & contrast

On white

3.99
#77871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#77871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77871A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77871A#FFFFFF#000000##000000
##77871A1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8025
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #77871a;
/* rgb */ color: rgb(119, 135, 26);
/* oklch */ color: oklch(59.1% 0.128 118.1);
Tailwind
colors: {
  custom: {
    50: '#a2a961',
    500: '#77871a',
    950: '#000000',
  },
}
SCSS
$custom: #77871a;
$custom-light: #a2a961;
$custom-dark: #000000;
JSON
{
  "hex": "#77871a",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 68.807,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.12825,
    "h": 118.1
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#77871A
secondary
#5442BA
accent
#3DEB57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #77871A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#77871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva