#789016#789016

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

Color values

HEX#789016
RGBrgb(120, 144, 22)
HSLhsl(72, 73%, 33%)
HSVhsv(72, 85%, 56%)
CMYKcmyk(16.7%, 0%, 84.7%, 43.5%)
CIE-LABlab(56.09, -24.31, 55.39)
CIE-LCHlch(56.09, 60.49, 113.69°)
OKLaboklab(61.32% -0.0724 0.1201)
OKLCHoklch(61.32% 0.14 121.1)
XYZxyz(17.8641, 23.9975, 4.4498)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789016 #2E1690
analogous
#906B16 #789016 #3B9016
triadic
#789016 #167890 #901678
tetradic
#789016 #16906B #2E1690 #90163B
square
#789016 #16906B #2E1690 #90163B
split-complementary
#789016 #163B90 #6B1690
monochromatic
#202606 #4C5B0E #789016 #A4C51E #C2E23F

Accessibility & contrast

On white

3.62
#789016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#789016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##789016#FFFFFF#000000##000000
##7890161.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)
#968724
Tritanopia (blue-blind)
#7F887A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #789016;
/* rgb */ color: rgb(120, 144, 22);
/* oklch */ color: oklch(61.3% 0.140 121.1);
Tailwind
colors: {
  custom: {
    50: '#a3b061',
    500: '#789016',
    950: '#000000',
  },
}
SCSS
$custom: #789016;
$custom-light: #a3b061;
$custom-dark: #000000;
JSON
{
  "hex": "#789016",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 22
  },
  "hsl": {
    "h": 71.803,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.14028,
    "h": 121.1
  },
  "luminance": 0.23998
}

Semantic roles & 50–950 ramp

primary
#789016
secondary
#5A40C2
accent
#38F05C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #789016

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

Preview Lab → · Contrast checker → · Palette generator →

#789016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva