#23942B#23942B

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

Color values

HEX#23942B
RGBrgb(35, 148, 43)
HSLhsl(124, 62%, 36%)
HSVhsv(124, 76%, 58%)
CMYKcmyk(76.4%, 0%, 70.9%, 42%)
CIE-LABlab(53.72, -51.65, 44.70)
CIE-LCHlch(53.72, 68.31, 139.13°)
OKLaboklab(58.4% -0.1398 0.1023)
OKLCHoklch(58.4% 0.173 143.8)
XYZxyz(11.7183, 21.7102, 5.8579)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23942B #94238C
analogous
#539423 #23942B #239463
triadic
#23942B #2B2394 #942B23
tetradic
#23942B #235394 #94238C #946323
square
#23942B #235394 #94238C #946323
split-complementary
#23942B #632394 #942353
monochromatic
#0C310E #17631D #23942B #2FC539 #5AD862

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23942B#FFFFFF#000000##000000
##23942B1.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)
#97861B
Deuteranopia (green-blind)
#8A7D35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #23942b;
/* rgb */ color: rgb(35, 148, 43);
/* oklch */ color: oklch(58.4% 0.173 143.8);
Tailwind
colors: {
  custom: {
    50: '#71b56a',
    500: '#23942b',
    950: '#000000',
  },
}
SCSS
$custom: #23942b;
$custom-light: #71b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#23942b",
  "rgb": {
    "r": 35,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 124.248,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.17329,
    "h": 143.8
  },
  "luminance": 0.21712
}

Semantic roles & 50–950 ramp

primary
#23942B
secondary
#BC57B5
accent
#43D9E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #23942B

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

Preview Lab → · Contrast checker → · Palette generator →

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