#789F31#789F31

#789F31 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.144 H 127.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#789F31
RGBrgb(120, 159, 49)
HSLhsl(81, 53%, 41%)
HSVhsv(81, 69%, 62%)
CMYKcmyk(24.5%, 0%, 69.2%, 37.6%)
CIE-LABlab(60.79, -30.18, 50.73)
CIE-LCHlch(60.79, 59.03, 120.75°)
OKLaboklab(65.17% -0.0863 0.1148)
OKLCHoklch(65.17% 0.144 127)
XYZxyz(20.6983, 29.0107, 7.4143)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F31 #58319F
analogous
#9F8F31 #789F31 #419F31
triadic
#789F31 #31789F #9F3178
tetradic
#789F31 #319F8F #58319F #9F3141
square
#789F31 #319F8F #58319F #9F3141
split-complementary
#789F31 #31419F #8F319F
monochromatic
#314114 #557023 #789F31 #99C647 #B3D576

Accessibility & contrast

On white

3.09
#789F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#789F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F31
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F31#FFFFFF#000000##000000
##789F311.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79421
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#7D9889
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #789f31;
/* rgb */ color: rgb(120, 159, 49);
/* oklch */ color: oklch(65.2% 0.144 127.0);
Tailwind
colors: {
  custom: {
    50: '#a2bb70',
    500: '#789f31',
    950: '#000000',
  },
}
SCSS
$custom: #789f31;
$custom-light: #a2bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#789f31",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 81.273,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65173,
    "c": 0.14362,
    "h": 127
  },
  "luminance": 0.29011
}

Semantic roles & 50–950 ramp

primary
#789F31
secondary
#8B6FBD
accent
#4CDC7F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #789F31

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

Preview Lab → · Contrast checker → · Palette generator →

#789F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva