#77871D#77871D

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

Color values

HEX#77871D
RGBrgb(119, 135, 29)
HSLhsl(69, 65%, 32%)
HSVhsv(69, 79%, 53%)
CMYKcmyk(11.9%, 0%, 78.5%, 47.1%)
CIE-LABlab(53.32, -19.90, 50.82)
CIE-LCHlch(53.32, 54.58, 111.38°)
OKLaboklab(59.08% -0.0598 0.1117)
OKLCHoklch(59.08% 0.127 118.2)
XYZxyz(16.4939, 21.3387, 4.4120)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77871D #2D1D87
analogous
#87621D #77871D #42871D
triadic
#77871D #1D7787 #871D77
tetradic
#77871D #1D8762 #2D1D87 #871D42
square
#77871D #1D8762 #2D1D87 #871D42
split-complementary
#77871D #1D4287 #621D87
monochromatic
#1E2207 #4B5512 #77871D #A3B928 #C2D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77871D#FFFFFF#000000##000000
##77871D1.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)
#907F02
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#7F7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #77871d;
/* rgb */ color: rgb(119, 135, 29);
/* oklch */ color: oklch(59.1% 0.127 118.2);
Tailwind
colors: {
  custom: {
    50: '#a1a963',
    500: '#77871d',
    950: '#000000',
  },
}
SCSS
$custom: #77871d;
$custom-light: #a1a963;
$custom-dark: #000000;
JSON
{
  "hex": "#77871d",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 69.057,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59078,
    "c": 0.12666,
    "h": 118.2
  },
  "luminance": 0.21339
}

Semantic roles & 50–950 ramp

primary
#77871D
secondary
#5846B9
accent
#40E859
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #77871D

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

Preview Lab → · Contrast checker → · Palette generator →

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