#78881D#78881D

#78881D is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.4% C 0.127 H 118.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#78881D
RGBrgb(120, 136, 29)
HSLhsl(69, 65%, 32%)
HSVhsv(69, 79%, 53%)
CMYKcmyk(11.8%, 0%, 78.7%, 46.7%)
CIE-LABlab(53.70, -19.97, 51.20)
CIE-LCHlch(53.70, 54.95, 111.31°)
OKLaboklab(59.4% -0.06 0.1124)
OKLCHoklch(59.4% 0.127 118.1)
XYZxyz(16.7721, 21.6903, 4.4652)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78881D #2D1D88
analogous
#88631D #78881D #43881D
triadic
#78881D #1D7888 #881D78
tetradic
#78881D #1D8863 #2D1D88 #881D43
square
#78881D #1D8863 #2D1D88 #881D43
split-complementary
#78881D #1D4388 #631D88
monochromatic
#1F2307 #4B5612 #78881D #A5BA28 #C2D848

Accessibility & contrast

On white

3.93
#78881D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#78881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78881D
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78881D#FFFFFF#000000##000000
##78881D1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918001
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#808074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #78881d;
/* rgb */ color: rgb(120, 136, 29);
/* oklch */ color: oklch(59.4% 0.127 118.1);
Tailwind
colors: {
  custom: {
    50: '#a2aa63',
    500: '#78881d',
    950: '#000000',
  },
}
SCSS
$custom: #78881d;
$custom-light: #a2aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#78881d",
  "rgb": {
    "r": 120,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 68.972,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.12746,
    "h": 118.1
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#78881D
secondary
#5847BA
accent
#40E859
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78881D

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

Preview Lab → · Contrast checker → · Palette generator →

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