#76821A#76821A

#76821A is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.123 H 116.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#76821A
RGBrgb(118, 130, 26)
HSLhsl(67, 67%, 31%)
HSVhsv(67, 80%, 51%)
CMYKcmyk(9.2%, 0%, 80%, 49%)
CIE-LABlab(51.71, -17.88, 50.30)
CIE-LCHlch(51.71, 53.39, 109.56°)
OKLaboklab(57.76% -0.0544 0.1101)
OKLCHoklch(57.76% 0.123 116.3)
XYZxyz(15.6407, 19.8916, 3.9926)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76821A #261A82
analogous
#825A1A #76821A #42821A
triadic
#76821A #1A7682 #821A76
tetradic
#76821A #1A825A #261A82 #821A42
square
#76821A #1A825A #261A82 #821A42
split-complementary
#76821A #1A4282 #5A1A82
monochromatic
#191C06 #484F10 #76821A #A4B524 #C7D83E

Accessibility & contrast

On white

4.22
#76821A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#76821A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76821A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76821A#FFFFFF#000000##000000
##76821A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76821a;
/* rgb */ color: rgb(118, 130, 26);
/* oklch */ color: oklch(57.8% 0.123 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a660',
    500: '#76821a',
    950: '#000000',
  },
}
SCSS
$custom: #76821a;
$custom-light: #a1a660;
$custom-dark: #000000;
JSON
{
  "hex": "#76821a",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 66.923,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57763,
    "c": 0.12277,
    "h": 116.3
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#76821A
secondary
#4F42B6
accent
#3EEA52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76821A

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

Preview Lab → · Contrast checker → · Palette generator →

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