#789146#789146

#789146 is a mid, moderate yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.106 H 124.6°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#789146
RGBrgb(120, 145, 70)
HSLhsl(80, 35%, 42%)
HSVhsv(80, 52%, 57%)
CMYKcmyk(17.2%, 0%, 51.7%, 43.1%)
CIE-LABlab(56.77, -21.42, 36.58)
CIE-LCHlch(56.77, 42.39, 120.36°)
OKLaboklab(61.99% -0.0601 0.087)
OKLCHoklch(61.99% 0.106 124.6)
XYZxyz(18.9766, 24.6859, 9.5583)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789146 #5F4691
analogous
#918546 #789146 #539146
triadic
#789146 #467891 #914678
tetradic
#789146 #469185 #5F4691 #914653
square
#789146 #469185 #5F4691 #914653
split-complementary
#789146 #465391 #854691
monochromatic
#343E1E #566832 #789146 #98B361 #B3C78B

Accessibility & contrast

On white

3.54
#789146 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#789146 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789146
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789146#FFFFFF#000000##000000
##7891461.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893F
Deuteranopia (green-blind)
#95884A
Tritanopia (blue-blind)
#7C8B80
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789146;
/* rgb */ color: rgb(120, 145, 70);
/* oklch */ color: oklch(62.0% 0.106 124.6);
Tailwind
colors: {
  custom: {
    50: '#a0b17b',
    500: '#789146',
    950: '#000000',
  },
}
SCSS
$custom: #789146;
$custom-light: #a0b17b;
$custom-dark: #000000;
JSON
{
  "hex": "#789146",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 70
  },
  "hsl": {
    "h": 80,
    "s": 34.884,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.10574,
    "h": 124.6
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#789146
secondary
#9181B2
accent
#5DCB82
background
#FAFAF7
surface
#F3F5EE
border
#CDCFC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #789146

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

Preview Lab → · Contrast checker → · Palette generator →

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