#789722#789722

#789722 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.1% C 0.143 H 123.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#789722
RGBrgb(120, 151, 34)
HSLhsl(76, 63%, 36%)
HSVhsv(76, 77%, 59%)
CMYKcmyk(20.5%, 0%, 77.5%, 40.8%)
CIE-LABlab(58.27, -27.24, 53.79)
CIE-LCHlch(58.27, 60.30, 116.86°)
OKLaboklab(63.1% -0.0796 0.1188)
OKLCHoklch(63.1% 0.143 123.8)
XYZxyz(19.1013, 26.2416, 5.5719)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789722 #412297
analogous
#977C22 #789722 #3E9722
triadic
#789722 #227897 #972278
tetradic
#789722 #22977C #412297 #97223E
square
#789722 #22977C #412297 #97223E
split-complementary
#789722 #223E97 #7C2297
monochromatic
#29330C #506517 #789722 #A0C92D #B8DA5A

Accessibility & contrast

On white

3.36
#789722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#789722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789722
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789722#FFFFFF#000000##000000
##7897221.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D04
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #789722;
/* rgb */ color: rgb(120, 151, 34);
/* oklch */ color: oklch(63.1% 0.143 123.8);
Tailwind
colors: {
  custom: {
    50: '#a2b567',
    500: '#789722',
    950: '#000000',
  },
}
SCSS
$custom: #789722;
$custom-light: #a2b567;
$custom-dark: #000000;
JSON
{
  "hex": "#789722",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 75.897,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63097,
    "c": 0.14298,
    "h": 123.8
  },
  "luminance": 0.26242
}

Semantic roles & 50–950 ramp

primary
#789722
secondary
#7257BE
accent
#42E66D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789722

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

Preview Lab → · Contrast checker → · Palette generator →

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