#76821C#76821C

#76821C 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#76821C
RGBrgb(118, 130, 28)
HSLhsl(67, 65%, 31%)
HSVhsv(67, 78%, 51%)
CMYKcmyk(9.2%, 0%, 78.5%, 49%)
CIE-LABlab(51.73, -17.79, 49.65)
CIE-LCHlch(51.73, 52.74, 109.71°)
OKLaboklab(57.78% -0.054 0.1091)
OKLCHoklch(57.78% 0.122 116.3)
XYZxyz(15.6639, 19.9009, 4.1145)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76821C #281C82
analogous
#825B1C #76821C #43821C
triadic
#76821C #1C7682 #821C76
tetradic
#76821C #1C825B #281C82 #821C43
square
#76821C #1C825B #281C82 #821C43
split-complementary
#76821C #1C4382 #5B1C82
monochromatic
#1B1D06 #485011 #76821C #A4B427 #C5D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76821C#FFFFFF#000000##000000
##76821C1.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)
#8B7B03
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #76821c;
/* rgb */ color: rgb(118, 130, 28);
/* oklch */ color: oklch(57.8% 0.122 116.3);
Tailwind
colors: {
  custom: {
    50: '#a1a661',
    500: '#76821c',
    950: '#000000',
  },
}
SCSS
$custom: #76821c;
$custom-light: #a1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#76821c",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 67.059,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.12168,
    "h": 116.3
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#76821C
secondary
#5244B5
accent
#40E854
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76821C

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

Preview Lab → · Contrast checker → · Palette generator →

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