#789142#789142

#789142 is a mid, moderate yellow-green. Relative luminance 0.246; OKLCH L 61.9% C 0.110 H 124.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#789142
RGBrgb(120, 145, 66)
HSLhsl(79, 37%, 41%)
HSVhsv(79, 54%, 57%)
CMYKcmyk(17.2%, 0%, 54.5%, 43.1%)
CIE-LABlab(56.72, -21.84, 38.53)
CIE-LCHlch(56.72, 44.29, 119.55°)
OKLaboklab(61.93% -0.0616 0.0909)
OKLCHoklch(61.93% 0.11 124.1)
XYZxyz(18.8545, 24.6371, 8.9153)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#789142 #5B4291
analogous
#918342 #789142 #519142
triadic
#789142 #427891 #914278
tetradic
#789142 #429183 #5B4291 #914251
square
#789142 #429183 #5B4291 #914251
split-complementary
#789142 #425191 #834291
monochromatic
#323D1C #55672F #789142 #98B55C #B3C886

Accessibility & contrast

On white

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

On black

5.93
#789142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #789142
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##789142#FFFFFF#000000##000000
##7891421.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893A
Deuteranopia (green-blind)
#958847
Tritanopia (blue-blind)
#7D8B7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #789142;
/* rgb */ color: rgb(120, 145, 66);
/* oklch */ color: oklch(61.9% 0.110 124.1);
Tailwind
colors: {
  custom: {
    50: '#a1b179',
    500: '#789142',
    950: '#000000',
  },
}
SCSS
$custom: #789142;
$custom-light: #a1b179;
$custom-dark: #000000;
JSON
{
  "hex": "#789142",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 66
  },
  "hsl": {
    "h": 78.987,
    "s": 37.441,
    "l": 41.373
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.10984,
    "h": 124.1
  },
  "luminance": 0.24637
}

Semantic roles & 50–950 ramp

primary
#789142
secondary
#8D7CB3
accent
#5ACD7F
background
#FAFAF7
surface
#F3F5ED
border
#CDCFC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #789142

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

Preview Lab → · Contrast checker → · Palette generator →

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