#76802A#76802A

#76802A is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.4% C 0.110 H 115.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#76802A
RGBrgb(118, 128, 42)
HSLhsl(67, 51%, 33%)
HSVhsv(67, 67%, 50%)
CMYKcmyk(7.8%, 0%, 67.2%, 49.8%)
CIE-LABlab(51.22, -15.92, 43.69)
CIE-LCHlch(51.22, 46.50, 110.03°)
OKLaboklab(57.4% -0.0474 0.0989)
OKLCHoklch(57.4% 0.11 115.6)
XYZxyz(15.6087, 19.4573, 5.1234)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76802A #342A80
analogous
#805F2A #76802A #4B802A
triadic
#76802A #2A7680 #802A76
tetradic
#76802A #2A805F #342A80 #802A4B
square
#76802A #2A805F #342A80 #802A4B
split-complementary
#76802A #2A4B80 #5F2A80
monochromatic
#21240C #4C521B #76802A #A0AE39 #BCC95B

Accessibility & contrast

On white

4.29
#76802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#76802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76802A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76802A#FFFFFF#000000##000000
##76802A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#7D796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #76802a;
/* rgb */ color: rgb(118, 128, 42);
/* oklch */ color: oklch(57.4% 0.110 115.6);
Tailwind
colors: {
  custom: {
    50: '#a0a468',
    500: '#76802a',
    950: '#000000',
  },
}
SCSS
$custom: #76802a;
$custom-light: #a0a468;
$custom-dark: #000000;
JSON
{
  "hex": "#76802a",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 66.977,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.10972,
    "h": 115.6
  },
  "luminance": 0.19457
}

Semantic roles & 50–950 ramp

primary
#76802A
secondary
#6157AF
accent
#4EDA5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #76802A

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

Preview Lab → · Contrast checker → · Palette generator →

#76802A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva