#77821C#77821C

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

Color values

HEX#77821C
RGBrgb(119, 130, 28)
HSLhsl(66, 65%, 31%)
HSVhsv(66, 78%, 51%)
CMYKcmyk(8.5%, 0%, 78.5%, 49%)
CIE-LABlab(51.80, -17.34, 49.76)
CIE-LCHlch(51.80, 52.69, 109.21°)
OKLaboklab(57.86% -0.0528 0.1092)
OKLCHoklch(57.86% 0.121 115.8)
XYZxyz(15.8004, 19.9713, 4.1209)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77821C #271C82
analogous
#825A1C #77821C #44821C
triadic
#77821C #1C7782 #821C77
tetradic
#77821C #1C825A #271C82 #821C44
square
#77821C #1C825A #271C82 #821C44
split-complementary
#77821C #1C4482 #5A1C82
monochromatic
#1B1D06 #495011 #77821C #A5B427 #C6D642

Accessibility & contrast

On white

4.20
#77821C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##77821C#FFFFFF#000000##000000
##77821C1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #77821c;
/* rgb */ color: rgb(119, 130, 28);
/* oklch */ color: oklch(57.9% 0.121 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a661',
    500: '#77821c',
    950: '#000000',
  },
}
SCSS
$custom: #77821c;
$custom-light: #a1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#77821c",
  "rgb": {
    "r": 119,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 66.471,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.12132,
    "h": 115.8
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#77821C
secondary
#5144B5
accent
#40E852
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #77821C

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

Preview Lab → · Contrast checker → · Palette generator →

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