#42B41B#42B41B

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

Color values

HEX#42B41B
RGBrgb(66, 180, 27)
HSLhsl(105, 74%, 41%)
HSVhsv(105, 85%, 71%)
CMYKcmyk(63.3%, 0%, 85%, 29.4%)
CIE-LABlab(64.87, -57.42, 60.91)
CIE-LCHlch(64.87, 83.71, 133.31°)
OKLaboklab(67.83% -0.1579 0.1338)
OKLCHoklch(67.83% 0.207 139.7)
XYZxyz(18.7650, 33.8781, 6.5869)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B41B #8D1BB4
analogous
#8EB41B #42B41B #1BB440
triadic
#42B41B #1B42B4 #B41B42
tetradic
#42B41B #1B8EB4 #8D1BB4 #B4401B
square
#42B41B #1B8EB4 #8D1BB4 #B4401B
split-complementary
#42B41B #401BB4 #B41B8E
monochromatic
#1B4A0B #2E7F13 #42B41B #5ADF2D #84E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42B41B#FFFFFF#000000##000000
##42B41B1.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)
#AC9A30
Tritanopia (blue-blind)
#32AE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #42b41b;
/* rgb */ color: rgb(66, 180, 27);
/* oklch */ color: oklch(67.8% 0.207 139.7);
Tailwind
colors: {
  custom: {
    50: '#85cb68',
    500: '#42b41b',
    950: '#000000',
  },
}
SCSS
$custom: #42b41b;
$custom-light: #85cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#42b41b",
  "rgb": {
    "r": 66,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 104.706,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67828,
    "c": 0.20696,
    "h": 139.7
  },
  "luminance": 0.3388
}

Semantic roles & 50–950 ramp

primary
#42B41B
secondary
#B05FCC
accent
#37F1C1
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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