#789A1D#789A1D

#789A1D is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.8% C 0.149 H 124.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#789A1D
RGBrgb(120, 154, 29)
HSLhsl(76, 68%, 36%)
HSVhsv(76, 81%, 60%)
CMYKcmyk(22.1%, 0%, 81.2%, 39.6%)
CIE-LABlab(59.15, -28.92, 56.17)
CIE-LCHlch(59.15, 63.18, 117.24°)
OKLaboklab(63.81% -0.0845 0.123)
OKLCHoklch(63.81% 0.149 124.5)
XYZxyz(19.5233, 27.1928, 5.3823)
Luminance0.2719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789A1D #3F1D9A
analogous
#9A7D1D #789A1D #399A1D
triadic
#789A1D #1D789A #9A1D78
tetradic
#789A1D #1D9A7D #3F1D9A #9A1D39
square
#789A1D #1D9A7D #3F1D9A #9A1D39
split-complementary
#789A1D #1D399A #7D1D9A
monochromatic
#28330A #506613 #789A1D #A0CE27 #B9DF53

Accessibility & contrast

On white

3.26
#789A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#789A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789A1D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789A1D#FFFFFF#000000##000000
##789A1D1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9E8E2A
Tritanopia (blue-blind)
#7E9283
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #789a1d;
/* rgb */ color: rgb(120, 154, 29);
/* oklch */ color: oklch(63.8% 0.149 124.5);
Tailwind
colors: {
  custom: {
    50: '#a3b865',
    500: '#789a1d',
    950: '#000000',
  },
}
SCSS
$custom: #789a1d;
$custom-light: #a3b865;
$custom-dark: #000000;
JSON
{
  "hex": "#789a1d",
  "rgb": {
    "r": 120,
    "g": 154,
    "b": 29
  },
  "hsl": {
    "h": 76.32,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.14922,
    "h": 124.5
  },
  "luminance": 0.27193
}

Semantic roles & 50–950 ramp

primary
#789A1D
secondary
#7051C2
accent
#3DEB6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #789A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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