#42A023#42A023

#42A023 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.181 H 139.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#42A023
RGBrgb(66, 160, 35)
HSLhsl(105, 64%, 38%)
HSVhsv(105, 78%, 63%)
CMYKcmyk(58.8%, 0%, 78.1%, 37.3%)
CIE-LABlab(58.43, -49.91, 52.68)
CIE-LCHlch(58.43, 72.57, 133.45°)
OKLaboklab(62.52% -0.1373 0.1177)
OKLCHoklch(62.52% 0.181 139.4)
XYZxyz(15.1203, 26.4199, 5.8925)
Luminance0.2642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A023 #8123A0
analogous
#80A023 #42A023 #23A042
triadic
#42A023 #2342A0 #A02342
tetradic
#42A023 #2380A0 #8123A0 #A04223
square
#42A023 #2380A0 #8123A0 #A04223
split-complementary
#42A023 #4223A0 #A02380
monochromatic
#193C0D #2D6E18 #42A023 #57D12F #80DC61

Accessibility & contrast

On white

3.34
#42A023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#42A023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A023
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A023#FFFFFF#000000##000000
##42A0231.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59102
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#379A89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #42a023;
/* rgb */ color: rgb(66, 160, 35);
/* oklch */ color: oklch(62.5% 0.181 139.4);
Tailwind
colors: {
  custom: {
    50: '#81bd68',
    500: '#42a023',
    950: '#000000',
  },
}
SCSS
$custom: #42a023;
$custom-light: #81bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#42a023",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 105.12,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.18087,
    "h": 139.4
  },
  "luminance": 0.26421
}

Semantic roles & 50–950 ramp

primary
#42A023
secondary
#A95DC1
accent
#41E7BE
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A023

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

Preview Lab → · Contrast checker → · Palette generator →

#42A023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva