#77811B#77811B

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

Color values

HEX#77811B
RGBrgb(119, 129, 27)
HSLhsl(66, 65%, 31%)
HSVhsv(66, 79%, 51%)
CMYKcmyk(7.8%, 0%, 79.1%, 49.4%)
CIE-LABlab(51.50, -16.86, 49.81)
CIE-LCHlch(51.50, 52.58, 108.70°)
OKLaboklab(57.61% -0.0515 0.1092)
OKLCHoklch(57.61% 0.121 115.3)
XYZxyz(15.6563, 19.7019, 4.0148)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77811B #251B81
analogous
#81581B #77811B #44811B
triadic
#77811B #1B7781 #811B77
tetradic
#77811B #1B8158 #251B81 #811B44
square
#77811B #1B8158 #251B81 #811B44
split-complementary
#77811B #1B4481 #581B81
monochromatic
#1A1C06 #484E10 #77811B #A6B426 #C8D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77811B#FFFFFF#000000##000000
##77811B1.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)
#8B7A01
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #77811b;
/* rgb */ color: rgb(119, 129, 27);
/* oklch */ color: oklch(57.6% 0.121 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a561',
    500: '#77811b',
    950: '#000000',
  },
}
SCSS
$custom: #77811b;
$custom-light: #a1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#77811b",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 65.882,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.12072,
    "h": 115.3
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#77811B
secondary
#4E43B5
accent
#3FE850
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77811B

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

Preview Lab → · Contrast checker → · Palette generator →

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