#77811A#77811A

#77811A 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#77811A
RGBrgb(119, 129, 26)
HSLhsl(66, 66%, 30%)
HSVhsv(66, 80%, 51%)
CMYKcmyk(7.8%, 0%, 79.8%, 49.4%)
CIE-LABlab(51.49, -16.90, 50.13)
CIE-LCHlch(51.49, 52.90, 108.63°)
OKLaboklab(57.61% -0.0518 0.1097)
OKLCHoklch(57.61% 0.121 115.3)
XYZxyz(15.6449, 19.6973, 3.9549)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77811A #241A81
analogous
#81571A #77811A #44811A
triadic
#77811A #1A7781 #811A77
tetradic
#77811A #1A8157 #241A81 #811A44
square
#77811A #1A8157 #241A81 #811A44
split-complementary
#77811A #1A4481 #571A81
monochromatic
#191B05 #484E10 #77811A #A6B424 #C9D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77811A#FFFFFF#000000##000000
##77811A1.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)
#8B7A00
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #77811a;
/* rgb */ color: rgb(119, 129, 26);
/* oklch */ color: oklch(57.6% 0.121 115.3);
Tailwind
colors: {
  custom: {
    50: '#a1a560',
    500: '#77811a',
    950: '#000000',
  },
}
SCSS
$custom: #77811a;
$custom-light: #a1a560;
$custom-dark: #000000;
JSON
{
  "hex": "#77811a",
  "rgb": {
    "r": 119,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 65.825,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57606,
    "c": 0.12126,
    "h": 115.3
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#77811A
secondary
#4D42B5
accent
#3EE94F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #77811A

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

Preview Lab → · Contrast checker → · Palette generator →

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