#23942A#23942A

#23942A is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.174 H 143.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#23942A
RGBrgb(35, 148, 42)
HSLhsl(124, 62%, 36%)
HSVhsv(124, 76%, 58%)
CMYKcmyk(76.4%, 0%, 71.6%, 42%)
CIE-LABlab(53.71, -51.75, 45.10)
CIE-LCHlch(53.71, 68.64, 138.93°)
OKLaboklab(58.39% -0.1401 0.1031)
OKLCHoklch(58.39% 0.174 143.7)
XYZxyz(11.7002, 21.7030, 5.7625)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23942A #94238D
analogous
#549423 #23942A #239462
triadic
#23942A #2A2394 #942A23
tetradic
#23942A #235494 #94238D #946223
square
#23942A #235494 #94238D #946223
split-complementary
#23942A #622394 #942354
monochromatic
#0C310E #17631C #23942A #2FC538 #5AD861

Accessibility & contrast

On white

3.93
#23942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#23942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23942A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23942A#FFFFFF#000000##000000
##23942A1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861A
Deuteranopia (green-blind)
#8A7D34
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #23942a;
/* rgb */ color: rgb(35, 148, 42);
/* oklch */ color: oklch(58.4% 0.174 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b56a',
    500: '#23942a',
    950: '#000000',
  },
}
SCSS
$custom: #23942a;
$custom-light: #72b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#23942a",
  "rgb": {
    "r": 35,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 123.717,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.17395,
    "h": 143.7
  },
  "luminance": 0.21704
}

Semantic roles & 50–950 ramp

primary
#23942A
secondary
#BC57B6
accent
#43DBE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #23942A

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

Preview Lab → · Contrast checker → · Palette generator →

#23942A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva