#789224#789224

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

Color values

HEX#789224
RGBrgb(120, 146, 36)
HSLhsl(74, 60%, 36%)
HSVhsv(74, 75%, 57%)
CMYKcmyk(17.8%, 0%, 75.3%, 42.7%)
CIE-LABlab(56.76, -24.68, 51.67)
CIE-LCHlch(56.76, 57.26, 115.53°)
OKLaboklab(61.88% -0.0724 0.1147)
OKLCHoklch(61.88% 0.136 122.3)
XYZxyz(18.3433, 24.6782, 5.4657)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789224 #3E2492
analogous
#927524 #789224 #419224
triadic
#789224 #247892 #922478
tetradic
#789224 #249275 #3E2492 #922441
square
#789224 #249275 #3E2492 #922441
split-complementary
#789224 #244192 #752492
monochromatic
#27300C #506118 #789224 #A0C330 #B9D65A

Accessibility & contrast

On white

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

On black

5.94
#789224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789224
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789224#FFFFFF#000000##000000
##7892241.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #789224;
/* rgb */ color: rgb(120, 146, 36);
/* oklch */ color: oklch(61.9% 0.136 122.3);
Tailwind
colors: {
  custom: {
    50: '#a2b267',
    500: '#789224',
    950: '#000000',
  },
}
SCSS
$custom: #789224;
$custom-light: #a2b267;
$custom-dark: #000000;
JSON
{
  "hex": "#789224",
  "rgb": {
    "r": 120,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 74.182,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.13561,
    "h": 122.3
  },
  "luminance": 0.24678
}

Semantic roles & 50–950 ramp

primary
#789224
secondary
#6F57BB
accent
#44E46A
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #789224

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

Preview Lab → · Contrast checker → · Palette generator →

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