#789220#789220

#789220 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.9% C 0.138 H 122.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#789220
RGBrgb(120, 146, 32)
HSLhsl(74, 64%, 35%)
HSVhsv(74, 78%, 57%)
CMYKcmyk(17.8%, 0%, 78.1%, 42.7%)
CIE-LABlab(56.74, -24.88, 53.03)
CIE-LCHlch(56.74, 58.57, 115.14°)
OKLaboklab(61.86% -0.0733 0.1168)
OKLCHoklch(61.86% 0.138 122.1)
XYZxyz(18.2856, 24.6551, 5.1618)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789220 #3A2092
analogous
#927320 #789220 #3F9220
triadic
#789220 #207892 #922078
tetradic
#789220 #209273 #3A2092 #92203F
square
#789220 #209273 #3A2092 #92203F
split-complementary
#789220 #203F92 #732092
monochromatic
#252E0A #4F6015 #789220 #A1C42B #BBD953

Accessibility & contrast

On white

3.54
#789220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#789220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789220
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789220#FFFFFF#000000##000000
##7892201.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8902
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#7F8A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789220;
/* rgb */ color: rgb(120, 146, 32);
/* oklch */ color: oklch(61.9% 0.138 122.1);
Tailwind
colors: {
  custom: {
    50: '#a2b265',
    500: '#789220',
    950: '#000000',
  },
}
SCSS
$custom: #789220;
$custom-light: #a2b265;
$custom-dark: #000000;
JSON
{
  "hex": "#789220",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 73.684,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.13791,
    "h": 122.1
  },
  "luminance": 0.24655
}

Semantic roles & 50–950 ramp

primary
#789220
secondary
#6A51BD
accent
#41E767
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789220

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

Preview Lab → · Contrast checker → · Palette generator →

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