#789B1C#789B1C

#789B1C is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.0% C 0.151 H 124.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#789B1C
RGBrgb(120, 155, 28)
HSLhsl(77, 69%, 36%)
HSVhsv(77, 82%, 61%)
CMYKcmyk(22.6%, 0%, 81.9%, 39.2%)
CIE-LABlab(59.45, -29.44, 56.73)
CIE-LCHlch(59.45, 63.91, 117.43°)
OKLaboklab(64.05% -0.086 0.124)
OKLCHoklch(64.05% 0.151 124.7)
XYZxyz(19.6769, 27.5194, 5.3735)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B1C #3F1C9B
analogous
#9B7E1C #789B1C #399B1C
triadic
#789B1C #1C789B #9B1C78
tetradic
#789B1C #1C9B7E #3F1C9B #9B1C39
square
#789B1C #1C9B7E #3F1C9B #9B1C39
split-complementary
#789B1C #1C399B #7E1C9B
monochromatic
#283309 #506713 #789B1C #A0CF25 #B9E052

Accessibility & contrast

On white

3.23
#789B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#789B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B1C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B1C#FFFFFF#000000##000000
##789B1C1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9F8F2A
Tritanopia (blue-blind)
#7E9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #789b1c;
/* rgb */ color: rgb(120, 155, 28);
/* oklch */ color: oklch(64.0% 0.151 124.7);
Tailwind
colors: {
  custom: {
    50: '#a3b865',
    500: '#789b1c',
    950: '#000000',
  },
}
SCSS
$custom: #789b1c;
$custom-light: #a3b865;
$custom-dark: #000000;
JSON
{
  "hex": "#789b1c",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 28
  },
  "hsl": {
    "h": 76.535,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.1509,
    "h": 124.7
  },
  "luminance": 0.2752
}

Semantic roles & 50–950 ramp

primary
#789B1C
secondary
#7050C3
accent
#3CEC6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #789B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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