#76802B#76802B

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

Color values

HEX#76802B
RGBrgb(118, 128, 43)
HSLhsl(67, 50%, 34%)
HSVhsv(67, 66%, 50%)
CMYKcmyk(7.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(51.23, -15.85, 43.26)
CIE-LCHlch(51.23, 46.07, 110.13°)
OKLaboklab(57.41% -0.0471 0.0982)
OKLCHoklch(57.41% 0.109 115.6)
XYZxyz(15.6268, 19.4645, 5.2189)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76802B #352B80
analogous
#805F2B #76802B #4B802B
triadic
#76802B #2B7680 #802B76
tetradic
#76802B #2B805F #352B80 #802B4B
square
#76802B #2B805F #352B80 #802B4B
split-complementary
#76802B #2B4B80 #5F2B80
monochromatic
#22240C #4C521C #76802B #A0AE3A #BCC95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76802B#FFFFFF#000000##000000
##76802B1.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)
#897920
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#7D796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #76802b;
/* rgb */ color: rgb(118, 128, 43);
/* oklch */ color: oklch(57.4% 0.109 115.6);
Tailwind
colors: {
  custom: {
    50: '#a0a469',
    500: '#76802b',
    950: '#000000',
  },
}
SCSS
$custom: #76802b;
$custom-light: #a0a469;
$custom-dark: #000000;
JSON
{
  "hex": "#76802b",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 67.059,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.10891,
    "h": 115.6
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#76802B
secondary
#6358AE
accent
#4FD95F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #76802B

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

Preview Lab → · Contrast checker → · Palette generator →

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