#78802B#78802B

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

Color values

HEX#78802B
RGBrgb(120, 128, 43)
HSLhsl(66, 50%, 34%)
HSVhsv(66, 66%, 50%)
CMYKcmyk(6.3%, 0%, 66.4%, 49.8%)
CIE-LABlab(51.39, -14.96, 43.48)
CIE-LCHlch(51.39, 45.98, 108.99°)
OKLaboklab(57.58% -0.0447 0.0986)
OKLCHoklch(57.58% 0.108 114.4)
XYZxyz(15.9013, 19.6061, 5.2317)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78802B #332B80
analogous
#805D2B #78802B #4D802B
triadic
#78802B #2B7880 #802B78
tetradic
#78802B #2B805D #332B80 #802B4D
square
#78802B #2B805D #332B80 #802B4D
split-complementary
#78802B #2B4D80 #5D2B80
monochromatic
#22240C #4D521C #78802B #A3AE3A #BEC95D

Accessibility & contrast

On white

4.27
#78802B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##78802B#FFFFFF#000000##000000
##78802B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78802b;
/* rgb */ color: rgb(120, 128, 43);
/* oklch */ color: oklch(57.6% 0.108 114.4);
Tailwind
colors: {
  custom: {
    50: '#a1a469',
    500: '#78802b',
    950: '#000000',
  },
}
SCSS
$custom: #78802b;
$custom-light: #a1a469;
$custom-dark: #000000;
JSON
{
  "hex": "#78802b",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 65.647,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.10828,
    "h": 114.4
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#78802B
secondary
#6058AE
accent
#4FD95C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #78802B

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

Preview Lab → · Contrast checker → · Palette generator →

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