#77811F#77811F

#77811F is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.118 H 115.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#77811F
RGBrgb(119, 129, 31)
HSLhsl(66, 61%, 31%)
HSVhsv(66, 76%, 51%)
CMYKcmyk(7.8%, 0%, 76%, 49.4%)
CIE-LABlab(51.52, -16.66, 48.44)
CIE-LCHlch(51.52, 51.22, 108.98°)
OKLaboklab(57.64% -0.0507 0.107)
OKLCHoklch(57.64% 0.118 115.3)
XYZxyz(15.7058, 19.7216, 4.2754)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77811F #291F81
analogous
#815A1F #77811F #46811F
triadic
#77811F #1F7781 #811F77
tetradic
#77811F #1F815A #291F81 #811F46
square
#77811F #1F815A #291F81 #811F46
split-complementary
#77811F #1F4681 #5A1F81
monochromatic
#1C1E07 #495013 #77811F #A5B22B #C5D347

Accessibility & contrast

On white

4.25
#77811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#77811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77811F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77811F#FFFFFF#000000##000000
##77811F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #77811f;
/* rgb */ color: rgb(119, 129, 31);
/* oklch */ color: oklch(57.6% 0.118 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a563',
    500: '#77811f',
    950: '#000000',
  },
}
SCSS
$custom: #77811f;
$custom-light: #a1a563;
$custom-dark: #000000;
JSON
{
  "hex": "#77811f",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 66.122,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.11839,
    "h": 115.3
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#77811F
secondary
#5348B4
accent
#43E454
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #77811F

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

Preview Lab → · Contrast checker → · Palette generator →

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