#238B42#238B42

#238B42 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.143 H 148.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#238B42
RGBrgb(35, 139, 66)
HSLhsl(138, 60%, 34%)
HSVhsv(138, 75%, 55%)
CMYKcmyk(74.8%, 0%, 52.5%, 45.5%)
CIE-LABlab(50.94, -45.54, 30.65)
CIE-LCHlch(50.94, 54.90, 146.06°)
OKLaboklab(56.18% -0.1225 0.0741)
OKLCHoklch(56.18% 0.143 148.8)
XYZxyz(10.9083, 19.2147, 8.2871)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B42 #8B236C
analogous
#388B23 #238B42 #238B76
triadic
#238B42 #42238B #8B4223
tetradic
#238B42 #23388B #8B236C #8B7623
square
#238B42 #23388B #8B236C #8B7623
split-complementary
#238B42 #76238B #8B2338
monochromatic
#0A2914 #175A2B #238B42 #2FBC59 #54D47A

Accessibility & contrast

On white

4.34
#238B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#238B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B42
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B42#FFFFFF#000000##000000
##238B421.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3C
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b42;
/* rgb */ color: rgb(35, 139, 66);
/* oklch */ color: oklch(56.2% 0.143 148.8);
Tailwind
colors: {
  custom: {
    50: '#6eae78',
    500: '#238b42',
    950: '#000000',
  },
}
SCSS
$custom: #238b42;
$custom-light: #6eae78;
$custom-dark: #000000;
JSON
{
  "hex": "#238b42",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 66
  },
  "hsl": {
    "h": 137.885,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.14319,
    "h": 148.8
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#238B42
secondary
#B8529A
accent
#45B4E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238B42

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

Preview Lab → · Contrast checker → · Palette generator →

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