#42A11F#42A11F

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

Color values

HEX#42A11F
RGBrgb(66, 161, 31)
HSLhsl(104, 68%, 38%)
HSVhsv(104, 81%, 63%)
CMYKcmyk(59%, 0%, 80.7%, 36.9%)
CIE-LABlab(58.74, -50.52, 54.24)
CIE-LCHlch(58.74, 74.12, 132.97°)
OKLaboklab(62.76% -0.1392 0.1204)
OKLCHoklch(62.76% 0.184 139.2)
XYZxyz(15.2383, 26.7456, 5.6555)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A11F #7E1FA1
analogous
#83A11F #42A11F #1FA13D
triadic
#42A11F #1F42A1 #A11F42
tetradic
#42A11F #1F83A1 #7E1FA1 #A13D1F
square
#42A11F #1F83A1 #7E1FA1 #A13D1F
split-complementary
#42A11F #3D1FA1 #A11F83
monochromatic
#183A0B #2D6E15 #42A11F #57D429 #7FDF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A11F#FFFFFF#000000##000000
##42A11F1.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)
#9A8A2F
Tritanopia (blue-blind)
#379B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a11f;
/* rgb */ color: rgb(66, 161, 31);
/* oklch */ color: oklch(62.8% 0.184 139.2);
Tailwind
colors: {
  custom: {
    50: '#82be66',
    500: '#42a11f',
    950: '#000000',
  },
}
SCSS
$custom: #42a11f;
$custom-light: #82be66;
$custom-dark: #000000;
JSON
{
  "hex": "#42a11f",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 103.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62763,
    "c": 0.18402,
    "h": 139.2
  },
  "luminance": 0.26747
}

Semantic roles & 50–950 ramp

primary
#42A11F
secondary
#A758C4
accent
#3DEBBC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #42A11F

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

Preview Lab → · Contrast checker → · Palette generator →

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