#23A042#23A042

#23A042 is a mid, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.170 H 147.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#23A042
RGBrgb(35, 160, 66)
HSLhsl(135, 64%, 38%)
HSVhsv(135, 78%, 63%)
CMYKcmyk(78.1%, 0%, 58.8%, 37.3%)
CIE-LABlab(57.93, -53.08, 39.08)
CIE-LCHlch(57.93, 65.91, 143.64°)
OKLaboklab(61.97% -0.1428 0.0927)
OKLCHoklch(61.97% 0.17 147)
XYZxyz(14.2462, 25.8906, 9.3998)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23A042 #A02381
analogous
#42A023 #23A042 #23A080
triadic
#23A042 #4223A0 #A04223
tetradic
#23A042 #2342A0 #A02381 #A08023
square
#23A042 #2342A0 #A02381 #A08023
split-complementary
#23A042 #8023A0 #A02342
monochromatic
#0D3C19 #186E2D #23A042 #2FD157 #61DC80

Accessibility & contrast

On white

3.40
#23A042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#23A042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23A042
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23A042#FFFFFF#000000##000000
##23A0421.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#94874A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #23a042;
/* rgb */ color: rgb(35, 160, 66);
/* oklch */ color: oklch(62.0% 0.170 147.0);
Tailwind
colors: {
  custom: {
    50: '#73bd79',
    500: '#23a042',
    950: '#000000',
  },
}
SCSS
$custom: #23a042;
$custom-light: #73bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#23a042",
  "rgb": {
    "r": 35,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 134.88,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61971,
    "c": 0.17025,
    "h": 147
  },
  "luminance": 0.25892
}

Semantic roles & 50–950 ramp

primary
#23A042
secondary
#C15DA9
accent
#41BEE7
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #23A042

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

Preview Lab → · Contrast checker → · Palette generator →

#23A042 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva