#238740#238740

#238740 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.140 H 148.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#238740
RGBrgb(35, 135, 64)
HSLhsl(137, 59%, 33%)
HSVhsv(137, 74%, 53%)
CMYKcmyk(74.1%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.56, -44.36, 30.00)
CIE-LCHlch(49.56, 53.55, 145.93°)
OKLaboklab(55.03% -0.1194 0.0725)
OKLCHoklch(55.03% 0.14 148.7)
XYZxyz(10.2817, 18.0543, 7.7925)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238740 #87236A
analogous
#388723 #238740 #238772
triadic
#238740 #402387 #874023
tetradic
#238740 #233887 #87236A #877223
square
#238740 #233887 #87236A #877223
split-complementary
#238740 #722387 #872338
monochromatic
#0A2612 #165629 #238740 #30B857 #52D277

Accessibility & contrast

On white

4.55
#238740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#238740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238740
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238740#FFFFFF#000000##000000
##2387401.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7C7345
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #238740;
/* rgb */ color: rgb(35, 135, 64);
/* oklch */ color: oklch(55.0% 0.140 148.7);
Tailwind
colors: {
  custom: {
    50: '#6dab76',
    500: '#238740',
    950: '#000000',
  },
}
SCSS
$custom: #238740;
$custom-light: #6dab76;
$custom-dark: #000000;
JSON
{
  "hex": "#238740",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 137.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.13968,
    "h": 148.7
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#238740
secondary
#B65098
accent
#46B5E2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238740

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

Preview Lab → · Contrast checker → · Palette generator →

#238740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva