#789E2D#789E2D

#789E2D is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.145 H 126.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#789E2D
RGBrgb(120, 158, 45)
HSLhsl(80, 56%, 40%)
HSVhsv(80, 72%, 62%)
CMYKcmyk(24.1%, 0%, 71.5%, 38%)
CIE-LABlab(60.46, -29.97, 51.97)
CIE-LCHlch(60.46, 59.99, 119.98°)
OKLaboklab(64.89% -0.0861 0.1168)
OKLCHoklch(64.89% 0.145 126.4)
XYZxyz(20.4463, 28.6359, 6.9322)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789E2D #532D9E
analogous
#9E8C2D #789E2D #409E2D
triadic
#789E2D #2D789E #9E2D78
tetradic
#789E2D #2D9E8C #532D9E #9E2D40
square
#789E2D #2D9E8C #532D9E #9E2D40
split-complementary
#789E2D #2D409E #8C2D9E
monochromatic
#303F12 #546E1F #789E2D #9BC940 #B4D66F

Accessibility & contrast

On white

3.12
#789E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#789E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789E2D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789E2D#FFFFFF#000000##000000
##789E2D1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931A
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#7D9788
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #789e2d;
/* rgb */ color: rgb(120, 158, 45);
/* oklch */ color: oklch(64.9% 0.145 126.4);
Tailwind
colors: {
  custom: {
    50: '#a2ba6d',
    500: '#789e2d',
    950: '#000000',
  },
}
SCSS
$custom: #789e2d;
$custom-light: #a2ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#789e2d",
  "rgb": {
    "r": 120,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 80.177,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.14508,
    "h": 126.4
  },
  "luminance": 0.28636
}

Semantic roles & 50–950 ramp

primary
#789E2D
secondary
#8669BD
accent
#49DF7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #789E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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