#789017#789017

#789017 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#789017
RGBrgb(120, 144, 23)
HSLhsl(72, 72%, 33%)
HSVhsv(72, 84%, 56%)
CMYKcmyk(16.7%, 0%, 84%, 43.5%)
CIE-LABlab(56.09, -24.27, 55.14)
CIE-LCHlch(56.09, 60.24, 113.76°)
OKLaboklab(61.32% -0.0723 0.1198)
OKLCHoklch(61.32% 0.14 121.1)
XYZxyz(17.8740, 24.0015, 4.5016)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789017 #2F1790
analogous
#906B17 #789017 #3B9017
triadic
#789017 #177890 #901778
tetradic
#789017 #17906B #2F1790 #90173B
square
#789017 #17906B #2F1790 #90173B
split-complementary
#789017 #173B90 #6B1790
monochromatic
#202606 #4C5B0F #789017 #A4C51F #C1E141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789017#FFFFFF#000000##000000
##7890171.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: #789017;
/* rgb */ color: rgb(120, 144, 23);
/* oklch */ color: oklch(61.3% 0.140 121.1);
Tailwind
colors: {
  custom: {
    50: '#a3b061',
    500: '#789017',
    950: '#000000',
  },
}
SCSS
$custom: #789017;
$custom-light: #a3b061;
$custom-dark: #000000;
JSON
{
  "hex": "#789017",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 71.901,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.13987,
    "h": 121.1
  },
  "luminance": 0.24001
}

Semantic roles & 50–950 ramp

primary
#789017
secondary
#5B42C1
accent
#39EF5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789017

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

Preview Lab → · Contrast checker → · Palette generator →

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