#238E31#238E31

#238E31 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.162 H 144.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#238E31
RGBrgb(35, 142, 49)
HSLhsl(128, 60%, 35%)
HSVhsv(128, 75%, 56%)
CMYKcmyk(75.4%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.75, -48.96, 39.97)
CIE-LCHlch(51.75, 63.20, 140.77°)
OKLaboklab(56.79% -0.1322 0.093)
OKLCHoklch(56.79% 0.162 144.9)
XYZxyz(10.9198, 19.9238, 6.1753)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E31 #8E2380
analogous
#4B8E23 #238E31 #238E66
triadic
#238E31 #31238E #8E3123
tetradic
#238E31 #234B8E #8E2380 #8E6623
square
#238E31 #234B8E #8E2380 #8E6623
split-complementary
#238E31 #66238E #8E234B
monochromatic
#0B2C0F #175D20 #238E31 #2FBF42 #56D567

Accessibility & contrast

On white

4.21
#238E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#238E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E31
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E31#FFFFFF#000000##000000
##238E311.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e31;
/* rgb */ color: rgb(35, 142, 49);
/* oklch */ color: oklch(56.8% 0.162 144.9);
Tailwind
colors: {
  custom: {
    50: '#70b06d',
    500: '#238e31',
    950: '#000000',
  },
}
SCSS
$custom: #238e31;
$custom-light: #70b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#238e31",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 127.85,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.1617,
    "h": 144.9
  },
  "luminance": 0.19925
}

Semantic roles & 50–950 ramp

primary
#238E31
secondary
#B953AC
accent
#44CFE4
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #238E31

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

Preview Lab → · Contrast checker → · Palette generator →

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