#238C52#238C52

#238C52 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.129 H 154.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#238C52
RGBrgb(35, 140, 82)
HSLhsl(147, 60%, 34%)
HSVhsv(147, 75%, 55%)
CMYKcmyk(75%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.52, -43.07, 22.77)
CIE-LCHlch(51.52, 48.72, 152.14°)
OKLaboklab(56.74% -0.1161 0.0566)
OKLCHoklch(56.74% 0.129 154)
XYZxyz(11.5932, 19.7213, 11.1766)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C52 #8C235D
analogous
#298C23 #238C52 #238C87
triadic
#238C52 #52238C #8C5223
tetradic
#238C52 #23298C #8C235D #8C8723
square
#238C52 #23298C #8C235D #8C8723
split-complementary
#238C52 #87238C #8C2329
monochromatic
#0B2A19 #175B35 #238C52 #2FBD6F #55D48E

Accessibility & contrast

On white

4.25
#238C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#238C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C52
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C52#FFFFFF#000000##000000
##238C521.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238c52;
/* rgb */ color: rgb(35, 140, 82);
/* oklch */ color: oklch(56.7% 0.129 154.0);
Tailwind
colors: {
  custom: {
    50: '#6eae83',
    500: '#238c52',
    950: '#000000',
  },
}
SCSS
$custom: #238c52;
$custom-light: #6eae83;
$custom-dark: #000000;
JSON
{
  "hex": "#238c52",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 146.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.12919,
    "h": 154
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#238C52
secondary
#B8528B
accent
#459CE3
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238C52

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

Preview Lab → · Contrast checker → · Palette generator →

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