#238D31#238D31

#238D31 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.160 H 144.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#238D31
RGBrgb(35, 141, 49)
HSLhsl(128, 60%, 35%)
HSVhsv(128, 75%, 55%)
CMYKcmyk(75.2%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.41, -48.61, 39.59)
CIE-LCHlch(51.41, 62.70, 140.84°)
OKLaboklab(56.51% -0.1313 0.0923)
OKLCHoklch(56.51% 0.16 144.9)
XYZxyz(10.7717, 19.6276, 6.1260)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D31 #8D237F
analogous
#4A8D23 #238D31 #238D66
triadic
#238D31 #31238D #8D3123
tetradic
#238D31 #234A8D #8D237F #8D6623
square
#238D31 #234A8D #8D237F #8D6623
split-complementary
#238D31 #66238D #8D234A
monochromatic
#0B2B0F #175C20 #238D31 #2FBE42 #55D566

Accessibility & contrast

On white

4.26
#238D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#238D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D31
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D31#FFFFFF#000000##000000
##238D311.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8026
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d31;
/* rgb */ color: rgb(35, 141, 49);
/* oklch */ color: oklch(56.5% 0.160 144.9);
Tailwind
colors: {
  custom: {
    50: '#6faf6d',
    500: '#238d31',
    950: '#000000',
  },
}
SCSS
$custom: #238d31;
$custom-light: #6faf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#238d31",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 127.925,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.16047,
    "h": 144.9
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#238D31
secondary
#B953AB
accent
#44CEE3
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238D31

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

Preview Lab → · Contrast checker → · Palette generator →

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