#76802F#76802F

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

Color values

HEX#76802F
RGBrgb(118, 128, 47)
HSLhsl(67, 46%, 34%)
HSVhsv(67, 63%, 50%)
CMYKcmyk(7.8%, 0%, 63.3%, 49.8%)
CIE-LABlab(51.26, -15.56, 41.48)
CIE-LCHlch(51.26, 44.30, 110.56°)
OKLaboklab(57.45% -0.0458 0.095)
OKLCHoklch(57.45% 0.106 115.8)
XYZxyz(15.7038, 19.4953, 5.6245)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76802F #392F80
analogous
#80622F #76802F #4E802F
triadic
#76802F #2F7680 #802F76
tetradic
#76802F #2F8062 #392F80 #802F4E
square
#76802F #2F8062 #392F80 #802F4E
split-complementary
#76802F #2F4E80 #622F80
monochromatic
#23260E #4D531F #76802F #9FAD3F #BAC663

Accessibility & contrast

On white

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

On black

4.90
#76802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76802F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76802F#FFFFFF#000000##000000
##76802F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#7D796F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #76802f;
/* rgb */ color: rgb(118, 128, 47);
/* oklch */ color: oklch(57.4% 0.106 115.8);
Tailwind
colors: {
  custom: {
    50: '#a0a46b',
    500: '#76802f',
    950: '#000000',
  },
}
SCSS
$custom: #76802f;
$custom-light: #a0a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#76802f",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 67.407,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.10552,
    "h": 115.8
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#76802F
secondary
#685EAD
accent
#52D662
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #76802F

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

Preview Lab → · Contrast checker → · Palette generator →

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