#789751#789751

#789751 is a light, moderate yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.103 H 128.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#789751
RGBrgb(120, 151, 81)
HSLhsl(87, 30%, 45%)
HSVhsv(87, 46%, 59%)
CMYKcmyk(20.5%, 0%, 46.4%, 40.8%)
CIE-LABlab(58.71, -23.18, 33.27)
CIE-LCHlch(58.71, 40.55, 124.87°)
OKLaboklab(63.6% -0.0642 0.0805)
OKLCHoklch(63.6% 0.103 128.6)
XYZxyz(20.2973, 26.7201, 11.8711)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789751 #705197
analogous
#979351 #789751 #559751
triadic
#789751 #517897 #975178
tetradic
#789751 #519793 #705197 #975155
square
#789751 #519793 #705197 #975155
split-complementary
#789751 #515597 #935197
monochromatic
#394726 #586F3C #789751 #96B372 #B4C99A

Accessibility & contrast

On white

3.31
#789751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#789751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789751
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789751#FFFFFF#000000##000000
##7897511.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8F4B
Deuteranopia (green-blind)
#998D55
Tritanopia (blue-blind)
#7B9286
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #789751;
/* rgb */ color: rgb(120, 151, 81);
/* oklch */ color: oklch(63.6% 0.103 128.6);
Tailwind
colors: {
  custom: {
    50: '#a0b583',
    500: '#789751',
    950: '#000000',
  },
}
SCSS
$custom: #789751;
$custom-light: #a0b583;
$custom-dark: #000000;
JSON
{
  "hex": "#789751",
  "rgb": {
    "r": 120,
    "g": 151,
    "b": 81
  },
  "hsl": {
    "h": 86.571,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63604,
    "c": 0.10291,
    "h": 128.6
  },
  "luminance": 0.2672
}

Semantic roles & 50–950 ramp

primary
#789751
secondary
#A08EB6
accent
#61C68E
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #789751

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

Preview Lab → · Contrast checker → · Palette generator →

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