#238D52#238D52

#238D52 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.131 H 153.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#238D52
RGBrgb(35, 141, 82)
HSLhsl(147, 60%, 35%)
HSVhsv(147, 75%, 55%)
CMYKcmyk(75.2%, 0%, 41.8%, 44.7%)
CIE-LABlab(51.85, -43.47, 23.21)
CIE-LCHlch(51.85, 49.28, 151.90°)
OKLaboklab(57.01% -0.1171 0.0577)
OKLCHoklch(57.01% 0.131 153.8)
XYZxyz(11.7399, 20.0149, 11.2255)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D52 #8D235E
analogous
#298D23 #238D52 #238D87
triadic
#238D52 #52238D #8D5223
tetradic
#238D52 #23298D #8D235E #8D8723
square
#238D52 #23298D #8D235E #8D8723
split-complementary
#238D52 #87238D #8D2329
monochromatic
#0B2B19 #175C35 #238D52 #2FBE6F #55D58E

Accessibility & contrast

On white

4.20
#238D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#238D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D52
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D52#FFFFFF#000000##000000
##238D521.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#807856
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238d52;
/* rgb */ color: rgb(35, 141, 82);
/* oklch */ color: oklch(57.0% 0.131 153.8);
Tailwind
colors: {
  custom: {
    50: '#6eaf83',
    500: '#238d52',
    950: '#000000',
  },
}
SCSS
$custom: #238d52;
$custom-light: #6eaf83;
$custom-dark: #000000;
JSON
{
  "hex": "#238d52",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 146.604,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.13057,
    "h": 153.8
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#238D52
secondary
#B9538C
accent
#449DE3
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238D52

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

Preview Lab → · Contrast checker → · Palette generator →

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