#77821A#77821A

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

Color values

HEX#77821A
RGBrgb(119, 130, 26)
HSLhsl(66, 67%, 31%)
HSVhsv(66, 80%, 51%)
CMYKcmyk(8.5%, 0%, 80%, 49%)
CIE-LABlab(51.79, -17.43, 50.41)
CIE-LCHlch(51.79, 53.33, 109.07°)
OKLaboklab(57.85% -0.0532 0.1102)
OKLCHoklch(57.85% 0.122 115.8)
XYZxyz(15.7773, 19.9620, 3.9990)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77821A #251A82
analogous
#82591A #77821A #43821A
triadic
#77821A #1A7782 #821A77
tetradic
#77821A #1A8259 #251A82 #821A43
square
#77821A #1A8259 #251A82 #821A43
split-complementary
#77821A #1A4382 #591A82
monochromatic
#1A1C06 #484F10 #77821A #A6B524 #C8D83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##77821A#FFFFFF#000000##000000
##77821A1.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: #77821a;
/* rgb */ color: rgb(119, 130, 26);
/* oklch */ color: oklch(57.8% 0.122 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a660',
    500: '#77821a',
    950: '#000000',
  },
}
SCSS
$custom: #77821a;
$custom-light: #a1a660;
$custom-dark: #000000;
JSON
{
  "hex": "#77821a",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 66.346,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.12241,
    "h": 115.8
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#77821A
secondary
#4E42B6
accent
#3EEA50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77821A

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

Preview Lab → · Contrast checker → · Palette generator →

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