#76821E#76821E

#76821E 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#76821E
RGBrgb(118, 130, 30)
HSLhsl(67, 63%, 31%)
HSVhsv(67, 77%, 51%)
CMYKcmyk(9.2%, 0%, 76.9%, 49%)
CIE-LABlab(51.74, -17.69, 48.97)
CIE-LCHlch(51.74, 52.07, 109.86°)
OKLaboklab(57.79% -0.0535 0.108)
OKLCHoklch(57.79% 0.121 116.4)
XYZxyz(15.6886, 19.9108, 4.2447)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76821E #2A1E82
analogous
#825C1E #76821E #44821E
triadic
#76821E #1E7682 #821E76
tetradic
#76821E #1E825C #2A1E82 #821E44
square
#76821E #1E825C #2A1E82 #821E44
split-complementary
#76821E #1E4482 #5C1E82
monochromatic
#1C1F07 #495013 #76821E #A3B429 #C3D446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76821E#FFFFFF#000000##000000
##76821E1.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)
#8B7B07
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#7E7A6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #76821e;
/* rgb */ color: rgb(118, 130, 30);
/* oklch */ color: oklch(57.8% 0.121 116.4);
Tailwind
colors: {
  custom: {
    50: '#a1a662',
    500: '#76821e',
    950: '#000000',
  },
}
SCSS
$custom: #76821e;
$custom-light: #a1a662;
$custom-dark: #000000;
JSON
{
  "hex": "#76821e",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 67.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.12052,
    "h": 116.4
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#76821E
secondary
#5447B5
accent
#42E656
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #76821E

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

Preview Lab → · Contrast checker → · Palette generator →

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