#76821D#76821D

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

Color values

HEX#76821D
RGBrgb(118, 130, 29)
HSLhsl(67, 64%, 31%)
HSVhsv(67, 78%, 51%)
CMYKcmyk(9.2%, 0%, 77.7%, 49%)
CIE-LABlab(51.73, -17.74, 49.32)
CIE-LCHlch(51.73, 52.41, 109.79°)
OKLaboklab(57.78% -0.0538 0.1085)
OKLCHoklch(57.78% 0.121 116.4)
XYZxyz(15.6760, 19.9057, 4.1785)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76821D #291D82
analogous
#825B1D #76821D #43821D
triadic
#76821D #1D7682 #821D76
tetradic
#76821D #1D825B #291D82 #821D43
square
#76821D #1D825B #291D82 #821D43
split-complementary
#76821D #1D4382 #5B1D82
monochromatic
#1B1E07 #495012 #76821D #A3B428 #C4D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76821D#FFFFFF#000000##000000
##76821D1.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)
#8B7B05
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #76821d;
/* rgb */ color: rgb(118, 130, 29);
/* oklch */ color: oklch(57.8% 0.121 116.4);
Tailwind
colors: {
  custom: {
    50: '#a1a662',
    500: '#76821d',
    950: '#000000',
  },
}
SCSS
$custom: #76821d;
$custom-light: #a1a662;
$custom-dark: #000000;
JSON
{
  "hex": "#76821d",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 67.129,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.12111,
    "h": 116.4
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#76821D
secondary
#5346B5
accent
#41E755
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76821D

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

Preview Lab → · Contrast checker → · Palette generator →

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