#238952#238952

#238952 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.125 H 154.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#238952
RGBrgb(35, 137, 82)
HSLhsl(148, 59%, 34%)
HSVhsv(148, 74%, 54%)
CMYKcmyk(74.5%, 0%, 40.1%, 46.3%)
CIE-LABlab(50.52, -41.88, 21.45)
CIE-LCHlch(50.52, 47.05, 152.88°)
OKLaboklab(55.91% -0.113 0.0535)
OKLCHoklch(55.91% 0.125 154.7)
XYZxyz(11.1608, 18.8566, 11.0325)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238952 #89235A
analogous
#278923 #238952 #238985
triadic
#238952 #522389 #895223
tetradic
#238952 #232789 #89235A #898523
square
#238952 #232789 #89235A #898523
split-complementary
#238952 #852389 #892327
monochromatic
#0A2818 #175835 #238952 #2FBA6F #53D38E

Accessibility & contrast

On white

4.40
#238952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#238952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238952
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238952#FFFFFF#000000##000000
##2389521.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238952;
/* rgb */ color: rgb(35, 137, 82);
/* oklch */ color: oklch(55.9% 0.125 154.7);
Tailwind
colors: {
  custom: {
    50: '#6dac83',
    500: '#238952',
    950: '#000000',
  },
}
SCSS
$custom: #238952;
$custom-light: #6dac83;
$custom-dark: #000000;
JSON
{
  "hex": "#238952",
  "rgb": {
    "r": 35,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 147.647,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.12503,
    "h": 154.7
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#238952
secondary
#B75188
accent
#459AE2
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238952

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

Preview Lab → · Contrast checker → · Palette generator →

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