#78901B#78901B

#78901B is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.3% C 0.138 H 121.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#78901B
RGBrgb(120, 144, 27)
HSLhsl(72, 68%, 34%)
HSVhsv(72, 81%, 56%)
CMYKcmyk(16.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(56.11, -24.11, 54.02)
CIE-LCHlch(56.11, 59.16, 114.06°)
OKLaboklab(61.34% -0.0716 0.1181)
OKLCHoklch(61.34% 0.138 121.2)
XYZxyz(17.9171, 24.0187, 4.7289)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78901B #331B90
analogous
#906D1B #78901B #3D901B
triadic
#78901B #1B7890 #901B78
tetradic
#78901B #1B906D #331B90 #901B3D
square
#78901B #1B906D #331B90 #901B3D
split-complementary
#78901B #1B3D90 #6D1B90
monochromatic
#222908 #4D5C11 #78901B #A3C425 #BEDD49

Accessibility & contrast

On white

3.62
#78901B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#78901B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #78901B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78901B#FFFFFF#000000##000000
##78901B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#968727
Tritanopia (blue-blind)
#7F887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #78901b;
/* rgb */ color: rgb(120, 144, 27);
/* oklch */ color: oklch(61.3% 0.138 121.2);
Tailwind
colors: {
  custom: {
    50: '#a2b063',
    500: '#78901b',
    950: '#000000',
  },
}
SCSS
$custom: #78901b;
$custom-light: #a2b063;
$custom-dark: #000000;
JSON
{
  "hex": "#78901b",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 72.308,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61341,
    "c": 0.13806,
    "h": 121.2
  },
  "luminance": 0.24019
}

Semantic roles & 50–950 ramp

primary
#78901B
secondary
#6048BF
accent
#3DEB60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #78901B

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

Preview Lab → · Contrast checker → · Palette generator →

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