#42995F#42995F

#42995F is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.4% C 0.122 H 152.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#42995F
RGBrgb(66, 153, 95)
HSLhsl(140, 40%, 43%)
HSVhsv(140, 57%, 60%)
CMYKcmyk(56.9%, 0%, 37.9%, 40%)
CIE-LABlab(56.85, -39.64, 22.82)
CIE-LCHlch(56.85, 45.74, 150.07°)
OKLaboklab(61.43% -0.1075 0.057)
OKLCHoklch(61.43% 0.122 152.1)
XYZxyz(15.7024, 24.7655, 14.7770)
Luminance0.2477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42995F #99427C
analogous
#509942 #42995F #42998A
triadic
#42995F #5F4299 #995F42
tetradic
#42995F #425099 #99427C #998A42
square
#42995F #425099 #99427C #998A42
split-complementary
#42995F #8A4299 #994250
monochromatic
#1D432A #306E44 #42995F #5EBA7D #89CCA0

Accessibility & contrast

On white

3.53
#42995F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#42995F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42995F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42995F#FFFFFF#000000##000000
##42995F1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5B
Deuteranopia (green-blind)
#8D8563
Tritanopia (blue-blind)
#2A978A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #42995f;
/* rgb */ color: rgb(66, 153, 95);
/* oklch */ color: oklch(61.4% 0.122 152.1);
Tailwind
colors: {
  custom: {
    50: '#7eb88d',
    500: '#42995f',
    950: '#000000',
  },
}
SCSS
$custom: #42995f;
$custom-light: #7eb88d;
$custom-dark: #000000;
JSON
{
  "hex": "#42995f",
  "rgb": {
    "r": 66,
    "g": 153,
    "b": 95
  },
  "hsl": {
    "h": 140,
    "s": 39.726,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.12169,
    "h": 152.1
  },
  "luminance": 0.24767
}

Semantic roles & 50–950 ramp

primary
#42995F
secondary
#B780A5
accent
#58A8D0
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42995F

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

Preview Lab → · Contrast checker → · Palette generator →

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