#789418#789418

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

Color values

HEX#789418
RGBrgb(120, 148, 24)
HSLhsl(74, 72%, 34%)
HSVhsv(74, 84%, 58%)
CMYKcmyk(18.9%, 0%, 83.8%, 42%)
CIE-LABlab(57.31, -26.21, 55.93)
CIE-LCHlch(57.31, 61.77, 115.11°)
OKLaboklab(62.31% -0.0775 0.1216)
OKLCHoklch(62.31% 0.144 122.5)
XYZxyz(18.5008, 25.2388, 4.7609)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789418 #341894
analogous
#947218 #789418 #3A9418
triadic
#789418 #187894 #941878
tetradic
#789418 #189472 #341894 #94183A
square
#789418 #189472 #341894 #94183A
split-complementary
#789418 #183A94 #721894
monochromatic
#232B07 #4D5F0F #789418 #A3C921 #BEE145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789418#FFFFFF#000000##000000
##7894181.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)
#9A8A26
Tritanopia (blue-blind)
#7F8C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789418;
/* rgb */ color: rgb(120, 148, 24);
/* oklch */ color: oklch(62.3% 0.144 122.5);
Tailwind
colors: {
  custom: {
    50: '#a3b362',
    500: '#789418',
    950: '#000000',
  },
}
SCSS
$custom: #789418;
$custom-light: #a3b362;
$custom-dark: #000000;
JSON
{
  "hex": "#789418",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 24
  },
  "hsl": {
    "h": 73.548,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62307,
    "c": 0.14421,
    "h": 122.5
  },
  "luminance": 0.25239
}

Semantic roles & 50–950 ramp

primary
#789418
secondary
#6246C2
accent
#39EF62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789418

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

Preview Lab → · Contrast checker → · Palette generator →

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