#238D38#238D38

#238D38 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.6% C 0.155 H 146.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#238D38
RGBrgb(35, 141, 56)
HSLhsl(132, 60%, 35%)
HSVhsv(132, 75%, 55%)
CMYKcmyk(75.2%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.49, -47.74, 36.37)
CIE-LCHlch(51.49, 60.01, 142.70°)
OKLaboklab(56.59% -0.1287 0.086)
OKLCHoklch(56.59% 0.155 146.2)
XYZxyz(10.9310, 19.6914, 6.9653)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D38 #8D2378
analogous
#438D23 #238D38 #238D6D
triadic
#238D38 #38238D #8D3823
tetradic
#238D38 #23438D #8D2378 #8D6D23
square
#238D38 #23438D #8D2378 #8D6D23
split-complementary
#238D38 #6D238D #8D2343
monochromatic
#0B2B11 #175C25 #238D38 #2FBE4B #55D56F

Accessibility & contrast

On white

4.25
#238D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#238D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D38
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D38#FFFFFF#000000##000000
##238D381.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#83773F
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238d38;
/* rgb */ color: rgb(35, 141, 56);
/* oklch */ color: oklch(56.6% 0.155 146.2);
Tailwind
colors: {
  custom: {
    50: '#6faf71',
    500: '#238d38',
    950: '#000000',
  },
}
SCSS
$custom: #238d38;
$custom-light: #6faf71;
$custom-dark: #000000;
JSON
{
  "hex": "#238d38",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 131.887,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.15476,
    "h": 146.2
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#238D38
secondary
#B953A5
accent
#44C4E3
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238D38

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

Preview Lab → · Contrast checker → · Palette generator →

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