#42A11B#42A11B

#42A11B is a light, vivid green. Relative luminance 0.267; OKLCH L 62.7% C 0.186 H 138.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#42A11B
RGBrgb(66, 161, 27)
HSLhsl(103, 71%, 37%)
HSVhsv(103, 83%, 63%)
CMYKcmyk(59%, 0%, 83.2%, 36.9%)
CIE-LABlab(58.72, -50.74, 55.37)
CIE-LCHlch(58.72, 75.10, 132.50°)
OKLaboklab(62.74% -0.14 0.1222)
OKLCHoklch(62.74% 0.186 138.9)
XYZxyz(15.1889, 26.7258, 5.3949)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A11B #7A1BA1
analogous
#85A11B #42A11B #1BA137
triadic
#42A11B #1B42A1 #A11B42
tetradic
#42A11B #1B85A1 #7A1BA1 #A1371B
square
#42A11B #1B85A1 #7A1BA1 #A1371B
split-complementary
#42A11B #371BA1 #A11B85
monochromatic
#173809 #2D6D12 #42A11B #57D524 #7DE254

Accessibility & contrast

On white

3.31
#42A11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#42A11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A11B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A11B#FFFFFF#000000##000000
##42A11B1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#389B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a11b;
/* rgb */ color: rgb(66, 161, 27);
/* oklch */ color: oklch(62.7% 0.186 138.9);
Tailwind
colors: {
  custom: {
    50: '#82be65',
    500: '#42a11b',
    950: '#000000',
  },
}
SCSS
$custom: #42a11b;
$custom-light: #82be65;
$custom-dark: #000000;
JSON
{
  "hex": "#42a11b",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 102.537,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62742,
    "c": 0.18578,
    "h": 138.9
  },
  "luminance": 0.26727
}

Semantic roles & 50–950 ramp

primary
#42A11B
secondary
#A452C5
accent
#3AEEBA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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