#789422#789422

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

Color values

HEX#789422
RGBrgb(120, 148, 34)
HSLhsl(75, 63%, 36%)
HSVhsv(75, 77%, 58%)
CMYKcmyk(18.9%, 0%, 77%, 42%)
CIE-LABlab(57.36, -25.77, 52.93)
CIE-LCHlch(57.36, 58.87, 115.96°)
OKLaboklab(62.36% -0.0755 0.117)
OKLCHoklch(62.36% 0.139 122.9)
XYZxyz(18.6246, 25.2883, 5.4130)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789422 #3E2294
analogous
#947722 #789422 #3F9422
triadic
#789422 #227894 #942278
tetradic
#789422 #229477 #3E2294 #94223F
square
#789422 #229477 #3E2294 #94223F
split-complementary
#789422 #223F94 #772294
monochromatic
#27300B #506217 #789422 #A0C62D #B9D958

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789422#FFFFFF#000000##000000
##7894221.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)
#9D8A06
Deuteranopia (green-blind)
#998A2D
Tritanopia (blue-blind)
#7E8C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #789422;
/* rgb */ color: rgb(120, 148, 34);
/* oklch */ color: oklch(62.4% 0.139 122.9);
Tailwind
colors: {
  custom: {
    50: '#a2b367',
    500: '#789422',
    950: '#000000',
  },
}
SCSS
$custom: #789422;
$custom-light: #a2b367;
$custom-dark: #000000;
JSON
{
  "hex": "#789422",
  "rgb": {
    "r": 120,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 74.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62361,
    "c": 0.13926,
    "h": 122.9
  },
  "luminance": 0.25288
}

Semantic roles & 50–950 ramp

primary
#789422
secondary
#6F55BD
accent
#42E66A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789422

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

Preview Lab → · Contrast checker → · Palette generator →

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