#789B5F#789B5F

#789B5F is a light, moderate yellow-green. Relative luminance 0.283; OKLCH L 64.8% C 0.093 H 133.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#789B5F
RGBrgb(120, 155, 95)
HSLhsl(95, 24%, 49%)
HSVhsv(95, 39%, 61%)
CMYKcmyk(22.6%, 0%, 38.7%, 39.2%)
CIE-LABlab(60.12, -23.32, 27.62)
CIE-LCHlch(60.12, 36.15, 130.17°)
OKLaboklab(64.81% -0.0638 0.0682)
OKLCHoklch(64.81% 0.093 133.1)
XYZxyz(21.5322, 28.2615, 15.1448)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789B5F #825F9B
analogous
#969B5F #789B5F #5F9B64
triadic
#789B5F #5F789B #9B5F78
tetradic
#789B5F #5F969B #825F9B #9B645F
square
#789B5F #5F969B #825F9B #9B645F
split-complementary
#789B5F #645F9B #9B5F96
monochromatic
#3D4F30 #5B7548 #789B5F #98B384 #B7CBAA

Accessibility & contrast

On white

3.16
#789B5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#789B5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789B5F
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789B5F#FFFFFF#000000##000000
##789B5F1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0935B
Deuteranopia (green-blind)
#9A9062
Tritanopia (blue-blind)
#79978C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #789b5f;
/* rgb */ color: rgb(120, 155, 95);
/* oklch */ color: oklch(64.8% 0.093 133.1);
Tailwind
colors: {
  custom: {
    50: '#a0b88d',
    500: '#789b5f',
    950: '#000000',
  },
}
SCSS
$custom: #789b5f;
$custom-light: #a0b88d;
$custom-dark: #000000;
JSON
{
  "hex": "#789b5f",
  "rgb": {
    "r": 120,
    "g": 155,
    "b": 95
  },
  "hsl": {
    "h": 95,
    "s": 24,
    "l": 49.02
  },
  "oklch": {
    "l": 0.64808,
    "c": 0.0934,
    "h": 133.1
  },
  "luminance": 0.28262
}

Semantic roles & 50–950 ramp

primary
#789B5F
secondary
#AD9DB9
accent
#67C09B
background
#F9FBF8
surface
#F2F6F0
border
#CCD0CB
text
#0F110C
muted
#7E807D

Preview Lab

Preview with #789B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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