#789D29#789D29

#789D29 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.146 H 125.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#789D29
RGBrgb(120, 157, 41)
HSLhsl(79, 59%, 39%)
HSVhsv(79, 74%, 62%)
CMYKcmyk(23.6%, 0%, 73.9%, 38.4%)
CIE-LABlab(60.13, -29.74, 53.14)
CIE-LCHlch(60.13, 60.89, 119.24°)
OKLaboklab(64.62% -0.0858 0.1186)
OKLCHoklch(64.62% 0.146 125.9)
XYZxyz(20.2031, 28.2668, 6.4890)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D29 #4E299D
analogous
#9D8829 #789D29 #3E9D29
triadic
#789D29 #29789D #9D2978
tetradic
#789D29 #299D88 #4E299D #9D293E
square
#789D29 #299D88 #4E299D #9D293E
split-complementary
#789D29 #293E9D #88299D
monochromatic
#2E3C10 #536C1C #789D29 #9CCB38 #B4D869

Accessibility & contrast

On white

3.16
#789D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#789D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D29
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D29#FFFFFF#000000##000000
##789D291.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69213
Deuteranopia (green-blind)
#A19034
Tritanopia (blue-blind)
#7D9587
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d29;
/* rgb */ color: rgb(120, 157, 41);
/* oklch */ color: oklch(64.6% 0.146 125.9);
Tailwind
colors: {
  custom: {
    50: '#a2ba6b',
    500: '#789d29',
    950: '#000000',
  },
}
SCSS
$custom: #789d29;
$custom-light: #a2ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#789d29",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 41
  },
  "hsl": {
    "h": 79.138,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64619,
    "c": 0.14639,
    "h": 125.9
  },
  "luminance": 0.28267
}

Semantic roles & 50–950 ramp

primary
#789D29
secondary
#8164BE
accent
#46E278
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789D29

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

Preview Lab → · Contrast checker → · Palette generator →

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