#78802D#78802D

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

Color values

HEX#78802D
RGBrgb(120, 128, 45)
HSLhsl(66, 48%, 34%)
HSVhsv(66, 65%, 50%)
CMYKcmyk(6.3%, 0%, 64.8%, 49.8%)
CIE-LABlab(51.41, -14.82, 42.60)
CIE-LCHlch(51.41, 45.11, 109.18°)
OKLaboklab(57.6% -0.0441 0.0971)
OKLCHoklch(57.6% 0.107 114.4)
XYZxyz(15.9389, 19.6211, 5.4297)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78802D #352D80
analogous
#805F2D #78802D #4F802D
triadic
#78802D #2D7880 #802D78
tetradic
#78802D #2D805F #352D80 #802D4F
square
#78802D #2D805F #352D80 #802D4F
split-complementary
#78802D #2D4F80 #5F2D80
monochromatic
#23250D #4E531D #78802D #A2AD3D #BDC760

Accessibility & contrast

On white

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

On black

4.92
#78802D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78802D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78802D#FFFFFF#000000##000000
##78802D1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#80796F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #78802d;
/* rgb */ color: rgb(120, 128, 45);
/* oklch */ color: oklch(57.6% 0.107 114.4);
Tailwind
colors: {
  custom: {
    50: '#a1a46a',
    500: '#78802d',
    950: '#000000',
  },
}
SCSS
$custom: #78802d;
$custom-light: #a1a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#78802d",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 65.783,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.10663,
    "h": 114.4
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#78802D
secondary
#635BAE
accent
#50D85D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #78802D

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

Preview Lab → · Contrast checker → · Palette generator →

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