#42A01B#42A01B

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

Color values

HEX#42A01B
RGBrgb(66, 160, 27)
HSLhsl(102, 71%, 37%)
HSVhsv(102, 83%, 63%)
CMYKcmyk(58.8%, 0%, 83.1%, 37.3%)
CIE-LABlab(58.39, -50.37, 55.07)
CIE-LCHlch(58.39, 74.63, 132.45°)
OKLaboklab(62.47% -0.139 0.1215)
OKLCHoklch(62.47% 0.185 138.8)
XYZxyz(15.0148, 26.3777, 5.3369)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A01B #791BA0
analogous
#85A01B #42A01B #1BA037
triadic
#42A01B #1B42A0 #A01B42
tetradic
#42A01B #1B85A0 #791BA0 #A0371B
square
#42A01B #1B85A0 #791BA0 #A0371B
split-complementary
#42A01B #371BA0 #A01B85
monochromatic
#173709 #2C6C12 #42A01B #58D424 #7DE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A01B#FFFFFF#000000##000000
##42A01B1.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: #42a01b;
/* rgb */ color: rgb(66, 160, 27);
/* oklch */ color: oklch(62.5% 0.185 138.8);
Tailwind
colors: {
  custom: {
    50: '#82bd65',
    500: '#42a01b',
    950: '#000000',
  },
}
SCSS
$custom: #42a01b;
$custom-light: #82bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#42a01b",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 102.406,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62473,
    "c": 0.18464,
    "h": 138.8
  },
  "luminance": 0.26379
}

Semantic roles & 50–950 ramp

primary
#42A01B
secondary
#A352C5
accent
#3AEEB9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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