#789162#789162

#789162 is a light, moderate yellow-green. Relative luminance 0.251; OKLCH L 62.5% C 0.073 H 131.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#789162
RGBrgb(120, 145, 98)
HSLhsl(92, 19%, 48%)
HSVhsv(92, 32%, 57%)
CMYKcmyk(17.2%, 0%, 32.4%, 43.1%)
CIE-LABlab(57.20, -17.74, 22.12)
CIE-LCHlch(57.20, 28.36, 128.72°)
OKLaboklab(62.47% -0.0482 0.0554)
OKLCHoklch(62.47% 0.073 131)
XYZxyz(20.0754, 25.1254, 15.3449)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789162 #7B6291
analogous
#909162 #789162 #629163
triadic
#789162 #627891 #916278
tetradic
#789162 #629091 #7B6291 #916362
square
#789162 #629091 #7B6291 #916362
split-complementary
#789162 #636291 #916290
monochromatic
#3C4831 #5A6C49 #789162 #97AC84 #B6C5A9

Accessibility & contrast

On white

3.49
#789162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#789162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789162
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789162#FFFFFF#000000##000000
##7891621.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958B5F
Deuteranopia (green-blind)
#918964
Tritanopia (blue-blind)
#798D85
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #789162;
/* rgb */ color: rgb(120, 145, 98);
/* oklch */ color: oklch(62.5% 0.073 131.0);
Tailwind
colors: {
  custom: {
    50: '#9fb18f',
    500: '#789162',
    950: '#000000',
  },
}
SCSS
$custom: #789162;
$custom-light: #9fb18f;
$custom-dark: #000000;
JSON
{
  "hex": "#789162",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 98
  },
  "hsl": {
    "h": 91.915,
    "s": 19.342,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62474,
    "c": 0.0734,
    "h": 131
  },
  "luminance": 0.25126
}

Semantic roles & 50–950 ramp

primary
#789162
secondary
#A89CB3
accent
#6CBC96
background
#F9FAF8
surface
#F2F5F0
border
#CCCFCB
text
#0E100C
muted
#7E7F7D

Preview Lab

Preview with #789162

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

Preview Lab → · Contrast checker → · Palette generator →

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