#789020#789020

#789020 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.4% C 0.135 H 121.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#789020
RGBrgb(120, 144, 32)
HSLhsl(73, 64%, 35%)
HSVhsv(73, 78%, 56%)
CMYKcmyk(16.7%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.13, -23.89, 52.46)
CIE-LCHlch(56.13, 57.64, 114.48°)
OKLaboklab(61.37% -0.0705 0.1156)
OKLCHoklch(61.37% 0.135 121.4)
XYZxyz(17.9800, 24.0439, 5.0599)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789020 #382090
analogous
#907020 #789020 #409020
triadic
#789020 #207890 #902078
tetradic
#789020 #209070 #382090 #902040
square
#789020 #209070 #382090 #902040
split-complementary
#789020 #204090 #702090
monochromatic
#252C0A #4E5E15 #789020 #A2C22B #BCD952

Accessibility & contrast

On white

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

On black

5.81
#789020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789020
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789020#FFFFFF#000000##000000
##7890201.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#7F887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #789020;
/* rgb */ color: rgb(120, 144, 32);
/* oklch */ color: oklch(61.4% 0.135 121.4);
Tailwind
colors: {
  custom: {
    50: '#a2b065',
    500: '#789020',
    950: '#000000',
  },
}
SCSS
$custom: #789020;
$custom-light: #a2b065;
$custom-dark: #000000;
JSON
{
  "hex": "#789020",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 72.857,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.13546,
    "h": 121.4
  },
  "luminance": 0.24044
}

Semantic roles & 50–950 ramp

primary
#789020
secondary
#6750BC
accent
#41E765
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789020

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

Preview Lab → · Contrast checker → · Palette generator →

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