#42A01C#42A01C

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

Color values

HEX#42A01C
RGBrgb(66, 160, 28)
HSLhsl(103, 70%, 37%)
HSVhsv(103, 83%, 63%)
CMYKcmyk(58.8%, 0%, 82.5%, 37.3%)
CIE-LABlab(58.40, -50.32, 54.80)
CIE-LCHlch(58.40, 74.40, 132.56°)
OKLaboklab(62.48% -0.1388 0.1211)
OKLCHoklch(62.48% 0.184 138.9)
XYZxyz(15.0266, 26.3824, 5.3988)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A01C #7A1CA0
analogous
#84A01C #42A01C #1CA038
triadic
#42A01C #1C42A0 #A01C42
tetradic
#42A01C #1C84A0 #7A1CA0 #A0381C
square
#42A01C #1C84A0 #7A1CA0 #A0381C
split-complementary
#42A01C #381CA0 #A01C84
monochromatic
#17380A #2D6C13 #42A01C #57D425 #7DE155

Accessibility & contrast

On white

3.35
#42A01C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A01C#FFFFFF#000000##000000
##42A01C1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#998A2C
Tritanopia (blue-blind)
#389A88
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #42a01c;
/* rgb */ color: rgb(66, 160, 28);
/* oklch */ color: oklch(62.5% 0.184 138.9);
Tailwind
colors: {
  custom: {
    50: '#82bd65',
    500: '#42a01c',
    950: '#000000',
  },
}
SCSS
$custom: #42a01c;
$custom-light: #82bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#42a01c",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 102.727,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62478,
    "c": 0.18421,
    "h": 138.9
  },
  "luminance": 0.26384
}

Semantic roles & 50–950 ramp

primary
#42A01C
secondary
#A453C4
accent
#3BEDBA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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