#238A41#238A41

#238A41 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.143 H 148.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#238A41
RGBrgb(35, 138, 65)
HSLhsl(137, 60%, 34%)
HSVhsv(137, 75%, 54%)
CMYKcmyk(74.6%, 0%, 52.9%, 45.9%)
CIE-LABlab(50.59, -45.33, 30.74)
CIE-LCHlch(50.59, 54.77, 145.85°)
OKLaboklab(55.88% -0.1219 0.0743)
OKLCHoklch(55.88% 0.143 148.7)
XYZxyz(10.7349, 18.9147, 8.0852)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A41 #8A236C
analogous
#398A23 #238A41 #238A75
triadic
#238A41 #41238A #8A4123
tetradic
#238A41 #23398A #8A236C #8A7523
square
#238A41 #23398A #8A236C #8A7523
split-complementary
#238A41 #75238A #8A2339
monochromatic
#0A2813 #17592A #238A41 #2FBB58 #54D479

Accessibility & contrast

On white

4.39
#238A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#238A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A41
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A41#FFFFFF#000000##000000
##238A411.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3B
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a41;
/* rgb */ color: rgb(35, 138, 65);
/* oklch */ color: oklch(55.9% 0.143 148.7);
Tailwind
colors: {
  custom: {
    50: '#6ead77',
    500: '#238a41',
    950: '#000000',
  },
}
SCSS
$custom: #238a41;
$custom-light: #6ead77;
$custom-dark: #000000;
JSON
{
  "hex": "#238a41",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 137.476,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55882,
    "c": 0.14278,
    "h": 148.7
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#238A41
secondary
#B7519A
accent
#45B5E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238A41

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

Preview Lab → · Contrast checker → · Palette generator →

#238A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva