#789420#789420

#789420 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.3% C 0.140 H 122.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#789420
RGBrgb(120, 148, 32)
HSLhsl(74, 64%, 35%)
HSVhsv(74, 78%, 58%)
CMYKcmyk(18.9%, 0%, 78.4%, 42%)
CIE-LABlab(57.34, -25.87, 53.59)
CIE-LCHlch(57.34, 59.51, 115.77°)
OKLaboklab(62.35% -0.076 0.118)
OKLCHoklch(62.35% 0.14 122.8)
XYZxyz(18.5966, 25.2771, 5.2655)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789420 #3C2094
analogous
#947620 #789420 #3E9420
triadic
#789420 #207894 #942078
tetradic
#789420 #209476 #3C2094 #94203E
square
#789420 #209476 #3C2094 #94203E
split-complementary
#789420 #203E94 #762094
monochromatic
#262F0A #4F6215 #789420 #A1C62B #BADA54

Accessibility & contrast

On white

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

On black

6.06
#789420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789420
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789420#FFFFFF#000000##000000
##7894201.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A01
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#7F8C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789420;
/* rgb */ color: rgb(120, 148, 32);
/* oklch */ color: oklch(62.3% 0.140 122.8);
Tailwind
colors: {
  custom: {
    50: '#a2b366',
    500: '#789420',
    950: '#000000',
  },
}
SCSS
$custom: #789420;
$custom-light: #a2b366;
$custom-dark: #000000;
JSON
{
  "hex": "#789420",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 74.483,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.14037,
    "h": 122.8
  },
  "luminance": 0.25277
}

Semantic roles & 50–950 ramp

primary
#789420
secondary
#6C52BE
accent
#40E769
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789420

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

Preview Lab → · Contrast checker → · Palette generator →

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