#77871F#77871F

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

Color values

HEX#77871F
RGBrgb(119, 135, 31)
HSLhsl(69, 63%, 33%)
HSVhsv(69, 77%, 53%)
CMYKcmyk(11.9%, 0%, 77%, 47.1%)
CIE-LABlab(53.33, -19.80, 50.15)
CIE-LCHlch(53.33, 53.91, 111.55°)
OKLaboklab(59.09% -0.0593 0.1106)
OKLCHoklch(59.09% 0.126 118.2)
XYZxyz(16.5194, 21.3490, 4.5466)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77871F #2F1F87
analogous
#87631F #77871F #43871F
triadic
#77871F #1F7787 #871F77
tetradic
#77871F #1F8763 #2F1F87 #871F43
square
#77871F #1F8763 #2F1F87 #871F43
split-complementary
#77871F #1F4387 #631F87
monochromatic
#1F2308 #4B5514 #77871F #A3B92A #C0D64B

Accessibility & contrast

On white

3.98
#77871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##77871F#FFFFFF#000000##000000
##77871F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #77871f;
/* rgb */ color: rgb(119, 135, 31);
/* oklch */ color: oklch(59.1% 0.126 118.2);
Tailwind
colors: {
  custom: {
    50: '#a1a963',
    500: '#77871f',
    950: '#000000',
  },
}
SCSS
$custom: #77871f;
$custom-light: #a1a963;
$custom-dark: #000000;
JSON
{
  "hex": "#77871f",
  "rgb": {
    "r": 119,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 69.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.12552,
    "h": 118.2
  },
  "luminance": 0.21349
}

Semantic roles & 50–950 ramp

primary
#77871F
secondary
#5B4AB8
accent
#42E65B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #77871F

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

Preview Lab → · Contrast checker → · Palette generator →

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