#42975C#42975C

#42975C is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.8% C 0.122 H 151.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#42975C
RGBrgb(66, 151, 92)
HSLhsl(138, 39%, 43%)
HSVhsv(138, 56%, 59%)
CMYKcmyk(56.3%, 0%, 39.1%, 40.8%)
CIE-LABlab(56.15, -39.34, 23.54)
CIE-LCHlch(56.15, 45.84, 149.10°)
OKLaboklab(60.84% -0.1066 0.0587)
OKLCHoklch(60.84% 0.122 151.2)
XYZxyz(15.2440, 24.0628, 13.9644)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42975C #97427D
analogous
#529742 #42975C #429787
triadic
#42975C #5C4297 #975C42
tetradic
#42975C #425297 #97427D #978742
square
#42975C #425297 #97427D #978742
split-complementary
#42975C #874297 #974252
monochromatic
#1D4228 #2F6C42 #42975C #5EB879 #88CB9D

Accessibility & contrast

On white

3.61
#42975C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#42975C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42975C
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42975C#FFFFFF#000000##000000
##42975C1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B58
Deuteranopia (green-blind)
#8C8360
Tritanopia (blue-blind)
#2C9588
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #42975c;
/* rgb */ color: rgb(66, 151, 92);
/* oklch */ color: oklch(60.8% 0.122 151.2);
Tailwind
colors: {
  custom: {
    50: '#7eb68a',
    500: '#42975c',
    950: '#000000',
  },
}
SCSS
$custom: #42975c;
$custom-light: #7eb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#42975c",
  "rgb": {
    "r": 66,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 138.353,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60844,
    "c": 0.12171,
    "h": 151.2
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#42975C
secondary
#B67FA5
accent
#59ABCF
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #42975C

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

Preview Lab → · Contrast checker → · Palette generator →

#42975C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva