#42B125#42B125

#42B125 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.1% C 0.199 H 140.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#42B125
RGBrgb(66, 177, 37)
HSLhsl(108, 65%, 42%)
HSVhsv(108, 79%, 69%)
CMYKcmyk(62.7%, 0%, 79.1%, 30.6%)
CIE-LABlab(63.95, -55.86, 57.32)
CIE-LCHlch(63.95, 80.04, 134.26°)
OKLaboklab(67.08% -0.1533 0.1277)
OKLCHoklch(67.08% 0.199 140.2)
XYZxyz(18.3020, 32.7344, 7.1038)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42B125 #9425B1
analogous
#88B125 #42B125 #25B14E
triadic
#42B125 #2542B1 #B12542
tetradic
#42B125 #2588B1 #9425B1 #B14E25
square
#42B125 #2588B1 #9425B1 #B14E25
split-complementary
#42B125 #4E25B1 #B12588
monochromatic
#1C4C10 #2F7E1A #42B125 #5DD63D #87E16F

Accessibility & contrast

On white

2.78
#42B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#42B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42B125
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42B125#FFFFFF#000000##000000
##42B1251.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#32AB97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42b125;
/* rgb */ color: rgb(66, 177, 37);
/* oklch */ color: oklch(67.1% 0.199 140.2);
Tailwind
colors: {
  custom: {
    50: '#84c96b',
    500: '#42b125',
    950: '#000000',
  },
}
SCSS
$custom: #42b125;
$custom-light: #84c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#42b125",
  "rgb": {
    "r": 66,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 107.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6708,
    "c": 0.19946,
    "h": 140.2
  },
  "luminance": 0.32736
}

Semantic roles & 50–950 ramp

primary
#42B125
secondary
#B46AC8
accent
#3FE8C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #42B125

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

Preview Lab → · Contrast checker → · Palette generator →

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