#789417#789417

#789417 is a light, vivid yellow-green. Relative luminance 0.252; OKLCH L 62.3% C 0.145 H 122.5°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#789417
RGBrgb(120, 148, 23)
HSLhsl(73, 73%, 34%)
HSVhsv(73, 84%, 58%)
CMYKcmyk(18.9%, 0%, 84.5%, 42%)
CIE-LABlab(57.30, -26.25, 56.19)
CIE-LCHlch(57.30, 62.02, 115.04°)
OKLaboklab(62.3% -0.0776 0.122)
OKLCHoklch(62.3% 0.145 122.5)
XYZxyz(18.4906, 25.2347, 4.7071)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789417 #331794
analogous
#947117 #789417 #399417
triadic
#789417 #177894 #941778
tetradic
#789417 #179471 #331794 #941739
square
#789417 #179471 #331794 #941739
split-complementary
#789417 #173994 #711794
monochromatic
#222A07 #4D5F0F #789417 #A3C91F #BEE244

Accessibility & contrast

On white

3.47
#789417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#789417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789417
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789417#FFFFFF#000000##000000
##7894171.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#7F8C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789417;
/* rgb */ color: rgb(120, 148, 23);
/* oklch */ color: oklch(62.3% 0.145 122.5);
Tailwind
colors: {
  custom: {
    50: '#a3b362',
    500: '#789417',
    950: '#000000',
  },
}
SCSS
$custom: #789417;
$custom-light: #a3b362;
$custom-dark: #000000;
JSON
{
  "hex": "#789417",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 73.44,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62302,
    "c": 0.14463,
    "h": 122.5
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

primary
#789417
secondary
#6044C3
accent
#38F061
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789417

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

Preview Lab → · Contrast checker → · Palette generator →

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