#238B4C#238B4C

#238B4C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.134 H 152.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#238B4C
RGBrgb(35, 139, 76)
HSLhsl(144, 60%, 34%)
HSVhsv(144, 75%, 55%)
CMYKcmyk(74.8%, 0%, 45.3%, 45.5%)
CIE-LABlab(51.09, -43.82, 25.50)
CIE-LCHlch(51.09, 50.70, 149.81°)
OKLaboklab(56.35% -0.1179 0.0628)
OKLCHoklch(56.35% 0.134 152)
XYZxyz(11.2293, 19.3431, 9.9779)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B4C #8B2362
analogous
#2E8B23 #238B4C #238B80
triadic
#238B4C #4C238B #8B4C23
tetradic
#238B4C #232E8B #8B2362 #8B8023
square
#238B4C #232E8B #8B2362 #8B8023
split-complementary
#238B4C #80238B #8B232E
monochromatic
#0A2917 #175A31 #238B4C #2FBC67 #54D487

Accessibility & contrast

On white

4.31
#238B4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#238B4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B4C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B4C#FFFFFF#000000##000000
##238B4C1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F47
Deuteranopia (green-blind)
#7F7650
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238b4c;
/* rgb */ color: rgb(35, 139, 76);
/* oklch */ color: oklch(56.3% 0.134 152.0);
Tailwind
colors: {
  custom: {
    50: '#6eae7f',
    500: '#238b4c',
    950: '#000000',
  },
}
SCSS
$custom: #238b4c;
$custom-light: #6eae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#238b4c",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 143.654,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.13364,
    "h": 152
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#238B4C
secondary
#B85290
accent
#45A5E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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