#789D1C#789D1C

#789D1C is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.5% C 0.153 H 125.3°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#789D1C
RGBrgb(120, 157, 28)
HSLhsl(77, 70%, 36%)
HSVhsv(77, 82%, 62%)
CMYKcmyk(23.6%, 0%, 82.2%, 38.4%)
CIE-LABlab(60.06, -30.39, 57.27)
CIE-LCHlch(60.06, 64.84, 117.95°)
OKLaboklab(64.54% -0.0886 0.1252)
OKLCHoklch(64.54% 0.153 125.3)
XYZxyz(20.0125, 28.1906, 5.4854)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789D1C #411C9D
analogous
#9D821C #789D1C #389D1C
triadic
#789D1C #1C789D #9D1C78
tetradic
#789D1C #1C9D82 #411C9D #9D1C38
square
#789D1C #1C9D82 #411C9D #9D1C38
split-complementary
#789D1C #1C389D #821C9D
monochromatic
#293509 #506913 #789D1C #A0D125 #B8E053

Accessibility & contrast

On white

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

On black

6.64
#789D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789D1C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789D1C#FFFFFF#000000##000000
##789D1C1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#7E9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789d1c;
/* rgb */ color: rgb(120, 157, 28);
/* oklch */ color: oklch(64.5% 0.153 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3ba65',
    500: '#789d1c',
    950: '#000000',
  },
}
SCSS
$custom: #789d1c;
$custom-light: #a3ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#789d1c",
  "rgb": {
    "r": 120,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 77.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64541,
    "c": 0.15333,
    "h": 125.3
  },
  "luminance": 0.28191
}

Semantic roles & 50–950 ramp

primary
#789D1C
secondary
#7251C3
accent
#3BED6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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