#238B52#238B52

#238B52 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.128 H 154.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#238B52
RGBrgb(35, 139, 82)
HSLhsl(147, 60%, 34%)
HSVhsv(147, 75%, 55%)
CMYKcmyk(74.8%, 0%, 41%, 45.5%)
CIE-LABlab(51.19, -42.68, 22.33)
CIE-LCHlch(51.19, 48.16, 152.38°)
OKLaboklab(56.46% -0.1151 0.0556)
OKLCHoklch(56.46% 0.128 154.2)
XYZxyz(11.4477, 19.4304, 11.1281)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B52 #8B235C
analogous
#288B23 #238B52 #238B86
triadic
#238B52 #52238B #8B5223
tetradic
#238B52 #23288B #8B235C #8B8623
square
#238B52 #23288B #8B235C #8B8623
split-complementary
#238B52 #86238B #8B2328
monochromatic
#0A2918 #175A35 #238B52 #2FBC6F #54D48E

Accessibility & contrast

On white

4.30
#238B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#238B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B52
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B52#FFFFFF#000000##000000
##238B521.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#00897D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238b52;
/* rgb */ color: rgb(35, 139, 82);
/* oklch */ color: oklch(56.5% 0.128 154.2);
Tailwind
colors: {
  custom: {
    50: '#6eae83',
    500: '#238b52',
    950: '#000000',
  },
}
SCSS
$custom: #238b52;
$custom-light: #6eae83;
$custom-dark: #000000;
JSON
{
  "hex": "#238b52",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 82
  },
  "hsl": {
    "h": 147.115,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.12781,
    "h": 154.2
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238B52

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

Preview Lab → · Contrast checker → · Palette generator →

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