#78891B#78891B

#78891B 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#78891B
RGBrgb(120, 137, 27)
HSLhsl(69, 67%, 32%)
HSVhsv(69, 80%, 54%)
CMYKcmyk(12.4%, 0%, 80.3%, 46.3%)
CIE-LABlab(53.99, -20.57, 52.11)
CIE-LCHlch(53.99, 56.02, 111.54°)
OKLaboklab(59.63% -0.0618 0.114)
OKLCHoklch(59.63% 0.13 118.5)
XYZxyz(16.8896, 21.9637, 4.3864)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78891B #2C1B89
analogous
#89631B #78891B #41891B
triadic
#78891B #1B7889 #891B78
tetradic
#78891B #1B8963 #2C1B89 #891B41
square
#78891B #1B8963 #2C1B89 #891B41
split-complementary
#78891B #1B4189 #631B89
monochromatic
#1E2307 #4B5611 #78891B #A5BC25 #C3DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##78891B#FFFFFF#000000##000000
##78891B1.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)
#918126
Tritanopia (blue-blind)
#808175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #78891b;
/* rgb */ color: rgb(120, 137, 27);
/* oklch */ color: oklch(59.6% 0.130 118.5);
Tailwind
colors: {
  custom: {
    50: '#a2ab62',
    500: '#78891b',
    950: '#000000',
  },
}
SCSS
$custom: #78891b;
$custom-light: #a2ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#78891b",
  "rgb": {
    "r": 120,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 69.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.12971,
    "h": 118.5
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#78891B
secondary
#5744BC
accent
#3EEA58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78891B

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

Preview Lab → · Contrast checker → · Palette generator →

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