#77871B#77871B

#77871B 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.27:1 contrast (WCAG AA passes).

Color values

HEX#77871B
RGBrgb(119, 135, 27)
HSLhsl(69, 67%, 32%)
HSVhsv(69, 80%, 53%)
CMYKcmyk(11.9%, 0%, 80%, 47.1%)
CIE-LABlab(53.31, -19.99, 51.46)
CIE-LCHlch(53.31, 55.21, 111.23°)
OKLaboklab(59.07% -0.0602 0.1127)
OKLCHoklch(59.07% 0.128 118.1)
XYZxyz(16.4699, 21.3292, 4.2860)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77871B #2B1B87
analogous
#87611B #77871B #41871B
triadic
#77871B #1B7787 #871B77
tetradic
#77871B #1B8761 #2B1B87 #871B41
square
#77871B #1B8761 #2B1B87 #871B41
split-complementary
#77871B #1B4187 #611B87
monochromatic
#1D2107 #4A5411 #77871B #A4BA25 #C3D943

Accessibility & contrast

On white

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

On black

5.27
#77871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77871B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77871B#FFFFFF#000000##000000
##77871B1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.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: #77871b;
/* rgb */ color: rgb(119, 135, 27);
/* oklch */ color: oklch(59.1% 0.128 118.1);
Tailwind
colors: {
  custom: {
    50: '#a1a962',
    500: '#77871b',
    950: '#000000',
  },
}
SCSS
$custom: #77871b;
$custom-light: #a1a962;
$custom-dark: #000000;
JSON
{
  "hex": "#77871b",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 68.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.12773,
    "h": 118.1
  },
  "luminance": 0.21329
}

Semantic roles & 50–950 ramp

primary
#77871B
secondary
#5544BA
accent
#3EEA58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #77871B

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

Preview Lab → · Contrast checker → · Palette generator →

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