#789F1B#789F1B

#789F1B is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.0% C 0.156 H 125.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#789F1B
RGBrgb(120, 159, 27)
HSLhsl(78, 71%, 36%)
HSVhsv(78, 83%, 62%)
CMYKcmyk(24.5%, 0%, 83%, 37.6%)
CIE-LABlab(60.67, -31.37, 58.08)
CIE-LCHlch(60.67, 66.02, 118.37°)
OKLaboklab(65.03% -0.0913 0.1267)
OKLCHoklch(65.03% 0.156 125.8)
XYZxyz(20.3419, 28.8682, 5.5371)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F1B #421B9F
analogous
#9F841B #789F1B #369F1B
triadic
#789F1B #1B789F #9F1B78
tetradic
#789F1B #1B9F84 #421B9F #9F1B36
square
#789F1B #1B9F84 #421B9F #9F1B36
split-complementary
#789F1B #1B369F #841B9F
monochromatic
#293609 #516B12 #789F1B #9FD324 #B7E253

Accessibility & contrast

On white

3.10
#789F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#789F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789F1B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789F1B#FFFFFF#000000##000000
##789F1B1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#7E9787
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f1b;
/* rgb */ color: rgb(120, 159, 27);
/* oklch */ color: oklch(65.0% 0.156 125.8);
Tailwind
colors: {
  custom: {
    50: '#a3bb65',
    500: '#789f1b',
    950: '#000000',
  },
}
SCSS
$custom: #789f1b;
$custom-light: #a3bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#789f1b",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 77.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6503,
    "c": 0.15619,
    "h": 125.8
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#789F1B
secondary
#7351C5
accent
#3AEE6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #789F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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