#77821B#77821B

#77821B is a mid, vivid yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.122 H 115.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#77821B
RGBrgb(119, 130, 27)
HSLhsl(66, 66%, 31%)
HSVhsv(66, 79%, 51%)
CMYKcmyk(8.5%, 0%, 79.2%, 49%)
CIE-LABlab(51.80, -17.38, 50.08)
CIE-LCHlch(51.80, 53.02, 109.14°)
OKLaboklab(57.85% -0.053 0.1098)
OKLCHoklch(57.85% 0.122 115.8)
XYZxyz(15.7886, 19.9666, 4.0589)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77821B #261B82
analogous
#82591B #77821B #43821B
triadic
#77821B #1B7782 #821B77
tetradic
#77821B #1B8259 #261B82 #821B43
square
#77821B #1B8259 #261B82 #821B43
split-complementary
#77821B #1B4382 #591B82
monochromatic
#1A1D06 #494F10 #77821B #A5B526 #C7D740

Accessibility & contrast

On white

4.21
#77821B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#77821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #77821B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77821B#FFFFFF#000000##000000
##77821B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #77821b;
/* rgb */ color: rgb(119, 130, 27);
/* oklch */ color: oklch(57.9% 0.122 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a661',
    500: '#77821b',
    950: '#000000',
  },
}
SCSS
$custom: #77821b;
$custom-light: #a1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#77821b",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 66.408,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57853,
    "c": 0.12188,
    "h": 115.8
  },
  "luminance": 0.19966
}

Semantic roles & 50–950 ramp

primary
#77821B
secondary
#4F43B6
accent
#3FE951
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77821B

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

Preview Lab → · Contrast checker → · Palette generator →

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