#789721#789721

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

Color values

HEX#789721
RGBrgb(120, 151, 33)
HSLhsl(76, 64%, 36%)
HSVhsv(76, 78%, 59%)
CMYKcmyk(20.5%, 0%, 78.1%, 40.8%)
CIE-LABlab(58.26, -27.29, 54.12)
CIE-LCHlch(58.26, 60.61, 116.76°)
OKLaboklab(63.09% -0.0798 0.1193)
OKLCHoklch(63.09% 0.144 123.8)
XYZxyz(19.0871, 26.2359, 5.4970)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789721 #402197
analogous
#977B21 #789721 #3D9721
triadic
#789721 #217897 #972178
tetradic
#789721 #21977B #402197 #97213D
square
#789721 #21977B #402197 #97213D
split-complementary
#789721 #213D97 #7B2197
monochromatic
#28330B #506516 #789721 #A0C92C #B8DA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789721#FFFFFF#000000##000000
##7897211.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)
#A08D01
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#7E8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #789721;
/* rgb */ color: rgb(120, 151, 33);
/* oklch */ color: oklch(63.1% 0.144 123.8);
Tailwind
colors: {
  custom: {
    50: '#a2b567',
    500: '#789721',
    950: '#000000',
  },
}
SCSS
$custom: #789721;
$custom-light: #a2b567;
$custom-dark: #000000;
JSON
{
  "hex": "#789721",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 75.763,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63091,
    "c": 0.14353,
    "h": 123.8
  },
  "luminance": 0.26236
}

Semantic roles & 50–950 ramp

primary
#789721
secondary
#7155BE
accent
#41E76C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789721

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

Preview Lab → · Contrast checker → · Palette generator →

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