#238B40#238B40

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

Color values

HEX#238B40
RGBrgb(35, 139, 64)
HSLhsl(137, 60%, 34%)
HSVhsv(137, 75%, 55%)
CMYKcmyk(74.8%, 0%, 54%, 45.5%)
CIE-LABlab(50.91, -45.86, 31.66)
CIE-LCHlch(50.91, 55.72, 145.38°)
OKLaboklab(56.15% -0.1234 0.0762)
OKLCHoklch(56.15% 0.145 148.3)
XYZxyz(10.8503, 19.1915, 7.9820)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B40 #8B236E
analogous
#3A8B23 #238B40 #238B74
triadic
#238B40 #40238B #8B4023
tetradic
#238B40 #233A8B #8B236E #8B7423
square
#238B40 #233A8B #8B236E #8B7423
split-complementary
#238B40 #74238B #8B233A
monochromatic
#0A2913 #175A29 #238B40 #2FBC57 #54D478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238B40#FFFFFF#000000##000000
##238B401.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)
#8C7E39
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b40;
/* rgb */ color: rgb(35, 139, 64);
/* oklch */ color: oklch(56.1% 0.145 148.3);
Tailwind
colors: {
  custom: {
    50: '#6eae76',
    500: '#238b40',
    950: '#000000',
  },
}
SCSS
$custom: #238b40;
$custom-light: #6eae76;
$custom-dark: #000000;
JSON
{
  "hex": "#238b40",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 136.731,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.14504,
    "h": 148.3
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#238B40
secondary
#B8529B
accent
#45B7E3
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238B40

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

Preview Lab → · Contrast checker → · Palette generator →

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