#78891A#78891A

#78891A is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.6% C 0.130 H 118.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#78891A
RGBrgb(120, 137, 26)
HSLhsl(69, 68%, 32%)
HSVhsv(69, 81%, 54%)
CMYKcmyk(12.4%, 0%, 81%, 46.3%)
CIE-LABlab(53.98, -20.61, 52.41)
CIE-LCHlch(53.98, 56.32, 111.47°)
OKLaboklab(59.63% -0.062 0.1145)
OKLCHoklch(59.63% 0.13 118.5)
XYZxyz(16.8782, 21.9591, 4.3265)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78891A #2B1A89
analogous
#89631A #78891A #41891A
triadic
#78891A #1A7889 #891A78
tetradic
#78891A #1A8963 #2B1A89 #891A41
square
#78891A #1A8963 #2B1A89 #891A41
split-complementary
#78891A #1A4189 #631A89
monochromatic
#1E2206 #4B5610 #78891A #A5BC24 #C4DB42

Accessibility & contrast

On white

3.89
#78891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#78891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78891A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78891A#FFFFFF#000000##000000
##78891A1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918125
Tritanopia (blue-blind)
#808175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #78891a;
/* rgb */ color: rgb(120, 137, 26);
/* oklch */ color: oklch(59.6% 0.130 118.5);
Tailwind
colors: {
  custom: {
    50: '#a2ab62',
    500: '#78891a',
    950: '#000000',
  },
}
SCSS
$custom: #78891a;
$custom-light: #a2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#78891a",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 69.189,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59627,
    "c": 0.1302,
    "h": 118.5
  },
  "luminance": 0.21959
}

Semantic roles & 50–950 ramp

primary
#78891A
secondary
#5543BC
accent
#3DEB58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #78891A

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

Preview Lab → · Contrast checker → · Palette generator →

#78891A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva