#42A61B#42A61B

#42A61B is a light, vivid green. Relative luminance 0.285; OKLCH L 64.1% C 0.191 H 139.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#42A61B
RGBrgb(66, 166, 27)
HSLhsl(103, 72%, 38%)
HSVhsv(103, 84%, 65%)
CMYKcmyk(60.2%, 0%, 83.7%, 34.9%)
CIE-LABlab(60.35, -52.54, 56.85)
CIE-LCHlch(60.35, 77.41, 132.74°)
OKLaboklab(64.09% -0.1448 0.1253)
OKLCHoklch(64.09% 0.191 139.1)
XYZxyz(16.0801, 28.5084, 5.6920)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A61B #7F1BA6
analogous
#88A61B #42A61B #1BA639
triadic
#42A61B #1B42A6 #A61B42
tetradic
#42A61B #1B88A6 #7F1BA6 #A6391B
square
#42A61B #1B88A6 #7F1BA6 #A6391B
split-complementary
#42A61B #391BA6 #A61B88
monochromatic
#183D0A #2D7112 #42A61B #57DB24 #7FE458

Accessibility & contrast

On white

3.13
#42A61B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#42A61B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A61B
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A61B#FFFFFF#000000##000000
##42A61B1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#9F8E2D
Tritanopia (blue-blind)
#36A08D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a61b;
/* rgb */ color: rgb(66, 166, 27);
/* oklch */ color: oklch(64.1% 0.191 139.1);
Tailwind
colors: {
  custom: {
    50: '#83c165',
    500: '#42a61b',
    950: '#000000',
  },
}
SCSS
$custom: #42a61b;
$custom-light: #83c165;
$custom-dark: #000000;
JSON
{
  "hex": "#42a61b",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 103.165,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64086,
    "c": 0.19146,
    "h": 139.1
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#42A61B
secondary
#A756C7
accent
#39EFBC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A61B

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

Preview Lab → · Contrast checker → · Palette generator →

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