#78802F#78802F

#78802F is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.105 H 114.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#78802F
RGBrgb(120, 128, 47)
HSLhsl(66, 46%, 34%)
HSVhsv(66, 63%, 50%)
CMYKcmyk(6.3%, 0%, 63.3%, 49.8%)
CIE-LABlab(51.42, -14.67, 41.71)
CIE-LCHlch(51.42, 44.21, 109.38°)
OKLaboklab(57.62% -0.0435 0.0955)
OKLCHoklch(57.62% 0.105 114.5)
XYZxyz(15.9784, 19.6369, 5.6374)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78802F #372F80
analogous
#80602F #78802F #50802F
triadic
#78802F #2F7880 #802F78
tetradic
#78802F #2F8060 #372F80 #802F50
square
#78802F #2F8060 #372F80 #802F50
split-complementary
#78802F #2F5080 #602F80
monochromatic
#24260E #4E531F #78802F #A2AD3F #BCC663

Accessibility & contrast

On white

4.26
#78802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#78802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78802F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78802F#FFFFFF#000000##000000
##78802F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#897B34
Tritanopia (blue-blind)
#80796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #78802f;
/* rgb */ color: rgb(120, 128, 47);
/* oklch */ color: oklch(57.6% 0.105 114.5);
Tailwind
colors: {
  custom: {
    50: '#a1a46b',
    500: '#78802f',
    950: '#000000',
  },
}
SCSS
$custom: #78802f;
$custom-light: #a1a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#78802f",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 65.926,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.1049,
    "h": 114.5
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#78802F
secondary
#665EAD
accent
#52D65F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #78802F

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

Preview Lab → · Contrast checker → · Palette generator →

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