#789015#789015

#789015 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.3% C 0.141 H 121.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#789015
RGBrgb(120, 144, 21)
HSLhsl(72, 75%, 32%)
HSVhsv(72, 85%, 56%)
CMYKcmyk(16.7%, 0%, 85.4%, 43.5%)
CIE-LABlab(56.08, -24.34, 55.65)
CIE-LCHlch(56.08, 60.74, 113.62°)
OKLaboklab(61.31% -0.0726 0.1205)
OKLCHoklch(61.31% 0.141 121.1)
XYZxyz(17.8547, 23.9937, 4.4000)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789015 #2D1590
analogous
#906A15 #789015 #3B9015
triadic
#789015 #157890 #901578
tetradic
#789015 #15906A #2D1590 #90153B
square
#789015 #15906A #2D1590 #90153B
split-complementary
#789015 #153B90 #6A1590
monochromatic
#1F2505 #4B5B0D #789015 #A5C51D #C2E33D

Accessibility & contrast

On white

3.62
#789015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#789015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789015
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789015#FFFFFF#000000##000000
##7890151.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#7F887A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #789015;
/* rgb */ color: rgb(120, 144, 21);
/* oklch */ color: oklch(61.3% 0.141 121.1);
Tailwind
colors: {
  custom: {
    50: '#a3b061',
    500: '#789015',
    950: '#000000',
  },
}
SCSS
$custom: #789015;
$custom-light: #a3b061;
$custom-dark: #000000;
JSON
{
  "hex": "#789015",
  "rgb": {
    "r": 120,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 71.707,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.14069,
    "h": 121.1
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#789015
secondary
#583EC2
accent
#37F15B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #789015

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

Preview Lab → · Contrast checker → · Palette generator →

#789015 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva