#238A32#238A32

#238A32 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.156 H 145.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#238A32
RGBrgb(35, 138, 50)
HSLhsl(129, 60%, 34%)
HSVhsv(129, 75%, 54%)
CMYKcmyk(74.6%, 0%, 63.8%, 45.9%)
CIE-LABlab(50.41, -47.43, 38.00)
CIE-LCHlch(50.41, 60.78, 141.30°)
OKLaboklab(55.68% -0.1281 0.089)
OKLCHoklch(55.68% 0.156 145.2)
XYZxyz(10.3566, 18.7634, 6.0929)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238A32 #8A237B
analogous
#488A23 #238A32 #238A66
triadic
#238A32 #32238A #8A3223
tetradic
#238A32 #23488A #8A237B #8A6623
square
#238A32 #23488A #8A237B #8A6623
split-complementary
#238A32 #66238A #8A2348
monochromatic
#0A280F #175920 #238A32 #2FBB44 #54D466

Accessibility & contrast

On white

4.42
#238A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#238A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238A32
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238A32#FFFFFF#000000##000000
##238A321.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D28
Deuteranopia (green-blind)
#80753A
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238a32;
/* rgb */ color: rgb(35, 138, 50);
/* oklch */ color: oklch(55.7% 0.156 145.2);
Tailwind
colors: {
  custom: {
    50: '#6fad6d',
    500: '#238a32',
    950: '#000000',
  },
}
SCSS
$custom: #238a32;
$custom-light: #6fad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#238a32",
  "rgb": {
    "r": 35,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 128.738,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.15592,
    "h": 145.2
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#238A32
secondary
#B751A9
accent
#45CCE3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238A32

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

Preview Lab → · Contrast checker → · Palette generator →

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