#789F15#789F15

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

Color values

HEX#789F15
RGBrgb(120, 159, 21)
HSLhsl(77, 77%, 35%)
HSVhsv(77, 87%, 62%)
CMYKcmyk(24.5%, 0%, 86.8%, 37.6%)
CIE-LABlab(60.64, -31.58, 59.54)
CIE-LCHlch(60.64, 67.40, 117.94°)
OKLaboklab(65.01% -0.0922 0.1289)
OKLCHoklch(65.01% 0.159 125.6)
XYZxyz(20.2794, 28.8432, 5.2082)
Luminance0.2884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789F15 #3C159F
analogous
#9F8115 #789F15 #339F15
triadic
#789F15 #15789F #9F1578
tetradic
#789F15 #159F81 #3C159F #9F1533
square
#789F15 #159F81 #3C159F #9F1533
split-complementary
#789F15 #15339F #81159F
monochromatic
#263307 #4F690E #789F15 #A1D51C #BAE748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##789F15#FFFFFF#000000##000000
##789F151.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)
#A39227
Tritanopia (blue-blind)
#7E9787
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789f15;
/* rgb */ color: rgb(120, 159, 21);
/* oklch */ color: oklch(65.0% 0.159 125.6);
Tailwind
colors: {
  custom: {
    50: '#a3bb63',
    500: '#789f15',
    950: '#000000',
  },
}
SCSS
$custom: #789f15;
$custom-light: #a3bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#789f15",
  "rgb": {
    "r": 120,
    "g": 159,
    "b": 21
  },
  "hsl": {
    "h": 76.957,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.1585,
    "h": 125.6
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#789F15
secondary
#6C48C8
accent
#35F36A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #789F15

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

Preview Lab → · Contrast checker → · Palette generator →

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