#238852#238852

#238852 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.124 H 154.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#238852
RGBrgb(35, 136, 82)
HSLhsl(148, 59%, 34%)
HSVhsv(148, 74%, 53%)
CMYKcmyk(74.3%, 0%, 39.7%, 46.7%)
CIE-LABlab(50.18, -41.47, 21.00)
CIE-LCHlch(50.18, 46.49, 153.14°)
OKLaboklab(55.64% -0.112 0.0524)
OKLCHoklch(55.64% 0.124 154.9)
XYZxyz(11.0193, 18.5736, 10.9853)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238852 #882359
analogous
#268823 #238852 #238884
triadic
#238852 #522388 #885223
tetradic
#238852 #232688 #882359 #888423
square
#238852 #232688 #882359 #888423
split-complementary
#238852 #842388 #882326
monochromatic
#0A2717 #165735 #238852 #30B96F #53D38E

Accessibility & contrast

On white

4.45
#238852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#238852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238852
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238852#FFFFFF#000000##000000
##2388521.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#00867A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #238852;
/* rgb */ color: rgb(35, 136, 82);
/* oklch */ color: oklch(55.6% 0.124 154.9);
Tailwind
colors: {
  custom: {
    50: '#6dab83',
    500: '#238852',
    950: '#000000',
  },
}
SCSS
$custom: #238852;
$custom-light: #6dab83;
$custom-dark: #000000;
JSON
{
  "hex": "#238852",
  "rgb": {
    "r": 35,
    "g": 136,
    "b": 82
  },
  "hsl": {
    "h": 147.921,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.12363,
    "h": 154.9
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#238852
secondary
#B75087
accent
#4699E2
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238852

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

Preview Lab → · Contrast checker → · Palette generator →

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