#789120#789120

#789120 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.6% C 0.137 H 121.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#789120
RGBrgb(120, 145, 32)
HSLhsl(73, 64%, 35%)
HSVhsv(73, 78%, 57%)
CMYKcmyk(17.2%, 0%, 77.9%, 43.1%)
CIE-LABlab(56.43, -24.39, 52.74)
CIE-LCHlch(56.43, 58.11, 114.81°)
OKLaboklab(61.61% -0.0719 0.1162)
OKLCHoklch(61.61% 0.137 121.7)
XYZxyz(18.1321, 24.3481, 5.1106)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789120 #392091
analogous
#917120 #789120 #409120
triadic
#789120 #207891 #912078
tetradic
#789120 #209171 #392091 #912040
square
#789120 #209171 #392091 #912040
split-complementary
#789120 #204091 #712091
monochromatic
#252D0A #4F5F15 #789120 #A1C32B #BBD952

Accessibility & contrast

On white

3.58
#789120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#789120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789120
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789120#FFFFFF#000000##000000
##7891201.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8803
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#7F897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #789120;
/* rgb */ color: rgb(120, 145, 32);
/* oklch */ color: oklch(61.6% 0.137 121.7);
Tailwind
colors: {
  custom: {
    50: '#a2b165',
    500: '#789120',
    950: '#000000',
  },
}
SCSS
$custom: #789120;
$custom-light: #a2b165;
$custom-dark: #000000;
JSON
{
  "hex": "#789120",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 73.274,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.13668,
    "h": 121.7
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#789120
secondary
#6851BC
accent
#41E766
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789120

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

Preview Lab → · Contrast checker → · Palette generator →

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