#77811C#77811C

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

Color values

HEX#77811C
RGBrgb(119, 129, 28)
HSLhsl(66, 64%, 31%)
HSVhsv(66, 78%, 51%)
CMYKcmyk(7.8%, 0%, 78.3%, 49.4%)
CIE-LABlab(51.50, -16.81, 49.48)
CIE-LCHlch(51.50, 52.26, 108.77°)
OKLaboklab(57.62% -0.0513 0.1086)
OKLCHoklch(57.62% 0.12 115.3)
XYZxyz(15.6680, 19.7066, 4.0768)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77811C #261C81
analogous
#81581C #77811C #44811C
triadic
#77811C #1C7781 #811C77
tetradic
#77811C #1C8158 #261C81 #811C44
square
#77811C #1C8158 #261C81 #811C44
split-complementary
#77811C #1C4481 #581C81
monochromatic
#1A1C06 #494F11 #77811C #A5B327 #C7D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77811C#FFFFFF#000000##000000
##77811C1.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)
#8B7A03
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #77811c;
/* rgb */ color: rgb(119, 129, 28);
/* oklch */ color: oklch(57.6% 0.120 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a561',
    500: '#77811c',
    950: '#000000',
  },
}
SCSS
$custom: #77811c;
$custom-light: #a1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#77811c",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 65.941,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.12016,
    "h": 115.3
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#77811C
secondary
#4F44B4
accent
#40E751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77811C

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

Preview Lab → · Contrast checker → · Palette generator →

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