#42904A#42904A

#42904A is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.7% C 0.129 H 145.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#42904A
RGBrgb(66, 144, 74)
HSLhsl(126, 37%, 41%)
HSVhsv(126, 54%, 56%)
CMYKcmyk(54.2%, 0%, 48.6%, 43.5%)
CIE-LABlab(53.60, -39.40, 29.95)
CIE-LCHlch(53.60, 49.49, 142.76°)
OKLaboklab(58.66% -0.1069 0.0729)
OKLCHoklch(58.66% 0.129 145.7)
XYZxyz(13.4553, 21.5981, 9.9370)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42904A #904288
analogous
#619042 #42904A #429071
triadic
#42904A #4A4290 #904A42
tetradic
#42904A #426190 #904288 #907142
square
#42904A #426190 #904288 #907142
split-complementary
#42904A #714290 #904261
monochromatic
#1C3C1F #2F6634 #42904A #5BB464 #85C78C

Accessibility & contrast

On white

3.95
#42904A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#42904A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42904A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42904A#FFFFFF#000000##000000
##42904A1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928444
Deuteranopia (green-blind)
#887D4F
Tritanopia (blue-blind)
#348D7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #42904a;
/* rgb */ color: rgb(66, 144, 74);
/* oklch */ color: oklch(58.7% 0.129 145.7);
Tailwind
colors: {
  custom: {
    50: '#7db17e',
    500: '#42904a',
    950: '#000000',
  },
}
SCSS
$custom: #42904a;
$custom-light: #7db17e;
$custom-dark: #000000;
JSON
{
  "hex": "#42904a",
  "rgb": {
    "r": 66,
    "g": 144,
    "b": 74
  },
  "hsl": {
    "h": 126.154,
    "s": 37.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58657,
    "c": 0.12936,
    "h": 145.7
  },
  "luminance": 0.21599
}

Semantic roles & 50–950 ramp

primary
#42904A
secondary
#B27CAC
accent
#5BC1CD
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #42904A

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

Preview Lab → · Contrast checker → · Palette generator →

#42904A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva