#238D51#238D51

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

Color values

HEX#238D51
RGBrgb(35, 141, 81)
HSLhsl(146, 60%, 35%)
HSVhsv(146, 75%, 55%)
CMYKcmyk(75.2%, 0%, 42.6%, 44.7%)
CIE-LABlab(51.84, -43.66, 23.74)
CIE-LCHlch(51.84, 49.70, 151.47°)
OKLaboklab(57% -0.1176 0.0589)
OKLCHoklch(57% 0.132 153.4)
XYZxyz(11.7022, 19.9998, 11.0266)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D51 #8D235F
analogous
#2A8D23 #238D51 #238D86
triadic
#238D51 #51238D #8D5123
tetradic
#238D51 #232A8D #8D235F #8D8623
square
#238D51 #232A8D #8D235F #8D8623
split-complementary
#238D51 #86238D #8D232A
monochromatic
#0B2B19 #175C35 #238D51 #2FBE6D #55D58D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238D51#FFFFFF#000000##000000
##238D511.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)
#8D814D
Deuteranopia (green-blind)
#807855
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238d51;
/* rgb */ color: rgb(35, 141, 81);
/* oklch */ color: oklch(57.0% 0.132 153.4);
Tailwind
colors: {
  custom: {
    50: '#6eaf82',
    500: '#238d51',
    950: '#000000',
  },
}
SCSS
$custom: #238d51;
$custom-light: #6eaf82;
$custom-dark: #000000;
JSON
{
  "hex": "#238d51",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 146.038,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56995,
    "c": 0.13154,
    "h": 153.4
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#238D51
secondary
#B9538D
accent
#449EE3
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238D51

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

Preview Lab → · Contrast checker → · Palette generator →

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