#42B41F#42B41F

#42B41F is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.205 H 139.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#42B41F
RGBrgb(66, 180, 31)
HSLhsl(106, 71%, 41%)
HSVhsv(106, 83%, 71%)
CMYKcmyk(63.3%, 0%, 82.8%, 29.4%)
CIE-LABlab(64.88, -57.23, 59.92)
CIE-LCHlch(64.88, 82.86, 133.69°)
OKLaboklab(67.85% -0.1572 0.1322)
OKLCHoklch(67.85% 0.205 139.9)
XYZxyz(18.8145, 33.8979, 6.8475)
Luminance0.3390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B41F #911FB4
analogous
#8DB41F #42B41F #1FB447
triadic
#42B41F #1F42B4 #B41F42
tetradic
#42B41F #1F8DB4 #911FB4 #B4471F
square
#42B41F #1F8DB4 #911FB4 #B4471F
split-complementary
#42B41F #471FB4 #B41F8D
monochromatic
#1C4C0D #2F8016 #42B41F #5CDC34 #86E568

Accessibility & contrast

On white

2.70
#42B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#42B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B41F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B41F#FFFFFF#000000##000000
##42B41F1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9A32
Tritanopia (blue-blind)
#31AE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b41f;
/* rgb */ color: rgb(66, 180, 31);
/* oklch */ color: oklch(67.8% 0.205 139.9);
Tailwind
colors: {
  custom: {
    50: '#85cb69',
    500: '#42b41f',
    950: '#000000',
  },
}
SCSS
$custom: #42b41f;
$custom-light: #85cb69;
$custom-dark: #000000;
JSON
{
  "hex": "#42b41f",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 105.906,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67846,
    "c": 0.20543,
    "h": 139.9
  },
  "luminance": 0.339
}

Semantic roles & 50–950 ramp

primary
#42B41F
secondary
#B364CB
accent
#3AEDC3
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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