#42985F#42985F

#42985F is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.2% C 0.120 H 152.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#42985F
RGBrgb(66, 152, 95)
HSLhsl(140, 39%, 43%)
HSVhsv(140, 57%, 60%)
CMYKcmyk(56.6%, 0%, 37.5%, 40.4%)
CIE-LABlab(56.53, -39.21, 22.39)
CIE-LCHlch(56.53, 45.15, 150.27°)
OKLaboklab(61.17% -0.1064 0.056)
OKLCHoklch(61.17% 0.12 152.2)
XYZxyz(15.5394, 24.4396, 14.7227)
Luminance0.2444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42985F #98427B
analogous
#509842 #42985F #42988A
triadic
#42985F #5F4298 #985F42
tetradic
#42985F #425098 #98427B #988A42
square
#42985F #425098 #98427B #988A42
split-complementary
#42985F #8A4298 #984250
monochromatic
#1D432A #2F6D44 #42985F #5EB97D #89CC9F

Accessibility & contrast

On white

3.57
#42985F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#42985F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42985F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42985F#FFFFFF#000000##000000
##42985F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988D5B
Deuteranopia (green-blind)
#8C8463
Tritanopia (blue-blind)
#2B9689
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #42985f;
/* rgb */ color: rgb(66, 152, 95);
/* oklch */ color: oklch(61.2% 0.120 152.2);
Tailwind
colors: {
  custom: {
    50: '#7eb78d',
    500: '#42985f',
    950: '#000000',
  },
}
SCSS
$custom: #42985f;
$custom-light: #7eb78d;
$custom-dark: #000000;
JSON
{
  "hex": "#42985f",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 140.233,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.1202,
    "h": 152.2
  },
  "luminance": 0.24441
}

Semantic roles & 50–950 ramp

primary
#42985F
secondary
#B77FA4
accent
#58A7CF
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42985F

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

Preview Lab → · Contrast checker → · Palette generator →

#42985F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva