#238A40#238A40

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

Color values

HEX#238A40
RGBrgb(35, 138, 64)
HSLhsl(137, 60%, 34%)
HSVhsv(137, 75%, 54%)
CMYKcmyk(74.6%, 0%, 53.6%, 45.9%)
CIE-LABlab(50.57, -45.48, 31.25)
CIE-LCHlch(50.57, 55.18, 145.51°)
OKLaboklab(55.87% -0.1224 0.0753)
OKLCHoklch(55.87% 0.144 148.4)
XYZxyz(10.7062, 18.9032, 7.9339)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A40 #8A236D
analogous
#3A8A23 #238A40 #238A74
triadic
#238A40 #40238A #8A4023
tetradic
#238A40 #233A8A #8A236D #8A7423
square
#238A40 #233A8A #8A236D #8A7423
split-complementary
#238A40 #74238A #8A233A
monochromatic
#0A2813 #175929 #238A40 #2FBB57 #54D478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238A40#FFFFFF#000000##000000
##238A401.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)
#8B7D3A
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a40;
/* rgb */ color: rgb(35, 138, 64);
/* oklch */ color: oklch(55.9% 0.144 148.4);
Tailwind
colors: {
  custom: {
    50: '#6ead76',
    500: '#238a40',
    950: '#000000',
  },
}
SCSS
$custom: #238a40;
$custom-light: #6ead76;
$custom-dark: #000000;
JSON
{
  "hex": "#238a40",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 136.893,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.14371,
    "h": 148.4
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#238A40
secondary
#B7519B
accent
#45B6E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238A40

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

Preview Lab → · Contrast checker → · Palette generator →

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