#23942F#23942F

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

Color values

HEX#23942F
RGBrgb(35, 148, 47)
HSLhsl(126, 62%, 36%)
HSVhsv(126, 76%, 58%)
CMYKcmyk(76.4%, 0%, 68.2%, 42%)
CIE-LABlab(53.75, -51.25, 43.05)
CIE-LCHlch(53.75, 66.94, 139.97°)
OKLaboklab(58.44% -0.1386 0.0994)
OKLCHoklch(58.44% 0.171 144.4)
XYZxyz(11.7953, 21.7410, 6.2636)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23942F #942388
analogous
#4F9423 #23942F #239467
triadic
#23942F #2F2394 #942F23
tetradic
#23942F #234F94 #942388 #946723
square
#23942F #234F94 #942388 #946723
split-complementary
#23942F #672394 #94234F
monochromatic
#0C3110 #17631F #23942F #2FC53F #5AD867

Accessibility & contrast

On white

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

On black

5.35
#23942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23942F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23942F#FFFFFF#000000##000000
##23942F1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #23942f;
/* rgb */ color: rgb(35, 148, 47);
/* oklch */ color: oklch(58.4% 0.171 144.4);
Tailwind
colors: {
  custom: {
    50: '#71b56d',
    500: '#23942f',
    950: '#000000',
  },
}
SCSS
$custom: #23942f;
$custom-light: #71b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#23942f",
  "rgb": {
    "r": 35,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 126.372,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.1705,
    "h": 144.4
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#23942F
secondary
#BC57B1
accent
#43D4E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #23942F

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

Preview Lab → · Contrast checker → · Palette generator →

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