#76821B#76821B

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

Color values

HEX#76821B
RGBrgb(118, 130, 27)
HSLhsl(67, 66%, 31%)
HSVhsv(67, 79%, 51%)
CMYKcmyk(9.2%, 0%, 79.2%, 49%)
CIE-LABlab(51.72, -17.83, 49.98)
CIE-LCHlch(51.72, 53.07, 109.64°)
OKLaboklab(57.77% -0.0542 0.1096)
OKLCHoklch(57.77% 0.122 116.3)
XYZxyz(15.6521, 19.8962, 4.0525)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76821B #271B82
analogous
#825A1B #76821B #42821B
triadic
#76821B #1B7682 #821B76
tetradic
#76821B #1B825A #271B82 #821B42
square
#76821B #1B825A #271B82 #821B42
split-complementary
#76821B #1B4282 #5A1B82
monochromatic
#1A1D06 #484F10 #76821B #A4B526 #C6D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76821B#FFFFFF#000000##000000
##76821B1.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: #76821b;
/* rgb */ color: rgb(118, 130, 27);
/* oklch */ color: oklch(57.8% 0.122 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a661',
    500: '#76821b',
    950: '#000000',
  },
}
SCSS
$custom: #76821b;
$custom-light: #a1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#76821b",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 66.99,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.12223,
    "h": 116.3
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#76821B
secondary
#5143B6
accent
#3FE953
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76821B

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

Preview Lab → · Contrast checker → · Palette generator →

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