#76821F#76821F

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

Color values

HEX#76821F
RGBrgb(118, 130, 31)
HSLhsl(67, 61%, 32%)
HSVhsv(67, 76%, 51%)
CMYKcmyk(9.2%, 0%, 76.2%, 49%)
CIE-LABlab(51.74, -17.64, 48.62)
CIE-LCHlch(51.74, 51.72, 109.94°)
OKLaboklab(57.79% -0.0533 0.1074)
OKLCHoklch(57.79% 0.12 116.4)
XYZxyz(15.7016, 19.9160, 4.3131)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76821F #2B1F82
analogous
#825D1F #76821F #45821F
triadic
#76821F #1F7682 #821F76
tetradic
#76821F #1F825D #2B1F82 #821F45
square
#76821F #1F825D #2B1F82 #821F45
split-complementary
#76821F #1F4582 #5D1F82
monochromatic
#1C1F07 #495113 #76821F #A3B32B #C2D348

Accessibility & contrast

On white

4.21
#76821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##76821F#FFFFFF#000000##000000
##76821F1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #76821f;
/* rgb */ color: rgb(118, 130, 31);
/* oklch */ color: oklch(57.8% 0.120 116.4);
Tailwind
colors: {
  custom: {
    50: '#a0a663',
    500: '#76821f',
    950: '#000000',
  },
}
SCSS
$custom: #76821f;
$custom-light: #a0a663;
$custom-dark: #000000;
JSON
{
  "hex": "#76821f",
  "rgb": {
    "r": 118,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 67.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.11992,
    "h": 116.4
  },
  "luminance": 0.19916
}

Semantic roles & 50–950 ramp

primary
#76821F
secondary
#5548B5
accent
#43E557
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #76821F

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

Preview Lab → · Contrast checker → · Palette generator →

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