#789517#789517

#789517 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.5% C 0.146 H 122.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#789517
RGBrgb(120, 149, 23)
HSLhsl(74, 73%, 34%)
HSVhsv(74, 85%, 58%)
CMYKcmyk(19.5%, 0%, 84.6%, 41.6%)
CIE-LABlab(57.61, -26.73, 56.46)
CIE-LCHlch(57.61, 62.47, 115.34°)
OKLaboklab(62.55% -0.079 0.1226)
OKLCHoklch(62.55% 0.146 122.8)
XYZxyz(18.6481, 25.5497, 4.7596)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789517 #341795
analogous
#957317 #789517 #399517
triadic
#789517 #177895 #951778
tetradic
#789517 #179573 #341795 #951739
square
#789517 #179573 #341795 #951739
split-complementary
#789517 #173995 #731795
monochromatic
#232B07 #4D600F #789517 #A3CA1F #BEE244

Accessibility & contrast

On white

3.44
#789517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#789517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789517
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789517#FFFFFF#000000##000000
##7895171.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8A26
Tritanopia (blue-blind)
#7F8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789517;
/* rgb */ color: rgb(120, 149, 23);
/* oklch */ color: oklch(62.5% 0.146 122.8);
Tailwind
colors: {
  custom: {
    50: '#a3b462',
    500: '#789517',
    950: '#000000',
  },
}
SCSS
$custom: #789517;
$custom-light: #a3b462;
$custom-dark: #000000;
JSON
{
  "hex": "#789517",
  "rgb": {
    "r": 120,
    "g": 149,
    "b": 23
  },
  "hsl": {
    "h": 73.81,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.14582,
    "h": 122.8
  },
  "luminance": 0.2555
}

Semantic roles & 50–950 ramp

primary
#789517
secondary
#6245C3
accent
#38F062
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789517

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

Preview Lab → · Contrast checker → · Palette generator →

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