#238240#238240

#238240 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.133 H 149.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#238240
RGBrgb(35, 130, 64)
HSLhsl(138, 58%, 32%)
HSVhsv(138, 73%, 51%)
CMYKcmyk(73.1%, 0%, 50.8%, 49%)
CIE-LABlab(47.87, -42.44, 27.90)
CIE-LCHlch(47.87, 50.79, 146.68°)
OKLaboklab(53.63% -0.1142 0.0678)
OKLCHoklch(53.63% 0.133 149.3)
XYZxyz(9.6004, 16.6917, 7.5654)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238240 #822365
analogous
#358223 #238240 #238270
triadic
#238240 #402382 #824023
tetradic
#238240 #233582 #822365 #827023
square
#238240 #233582 #822365 #827023
split-complementary
#238240 #702382 #822335
monochromatic
#092211 #165228 #238240 #30B258 #50D077

Accessibility & contrast

On white

4.84
#238240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#238240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238240
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238240#FFFFFF#000000##FFFFFF
##2382401.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#786E45
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #238240;
/* rgb */ color: rgb(35, 130, 64);
/* oklch */ color: oklch(53.6% 0.133 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ca776',
    500: '#238240',
    950: '#000000',
  },
}
SCSS
$custom: #238240;
$custom-light: #6ca776;
$custom-dark: #000000;
JSON
{
  "hex": "#238240",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 64
  },
  "hsl": {
    "h": 138.316,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5363,
    "c": 0.13286,
    "h": 149.3
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#238240
secondary
#B34D94
accent
#47B2E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #238240

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

Preview Lab → · Contrast checker → · Palette generator →

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