#77871C#77871C

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

Color values

HEX#77871C
RGBrgb(119, 135, 28)
HSLhsl(69, 66%, 32%)
HSVhsv(69, 79%, 53%)
CMYKcmyk(11.9%, 0%, 79.3%, 47.1%)
CIE-LABlab(53.31, -19.94, 51.14)
CIE-LCHlch(53.31, 54.90, 111.30°)
OKLaboklab(59.07% -0.06 0.1122)
OKLCHoklch(59.07% 0.127 118.1)
XYZxyz(16.4817, 21.3339, 4.3480)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77871C #2C1C87
analogous
#87621C #77871C #42871C
triadic
#77871C #1C7787 #871C77
tetradic
#77871C #1C8762 #2C1C87 #871C42
square
#77871C #1C8762 #2C1C87 #871C42
split-complementary
#77871C #1C4287 #621C87
monochromatic
#1E2207 #4A5411 #77871C #A4BA27 #C2D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77871C#FFFFFF#000000##000000
##77871C1.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)
#8F8026
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #77871c;
/* rgb */ color: rgb(119, 135, 28);
/* oklch */ color: oklch(59.1% 0.127 118.1);
Tailwind
colors: {
  custom: {
    50: '#a1a962',
    500: '#77871c',
    950: '#000000',
  },
}
SCSS
$custom: #77871c;
$custom-light: #a1a962;
$custom-dark: #000000;
JSON
{
  "hex": "#77871c",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 68.972,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.12721,
    "h": 118.1
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#77871C
secondary
#5645BA
accent
#3FE959
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #77871C

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

Preview Lab → · Contrast checker → · Palette generator →

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