#238B51#238B51

#238B51 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.129 H 153.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#238B51
RGBrgb(35, 139, 81)
HSLhsl(147, 60%, 34%)
HSVhsv(147, 75%, 55%)
CMYKcmyk(74.8%, 0%, 41.7%, 45.5%)
CIE-LABlab(51.17, -42.87, 22.86)
CIE-LCHlch(51.17, 48.59, 151.93°)
OKLaboklab(56.44% -0.1156 0.0568)
OKLCHoklch(56.44% 0.129 153.8)
XYZxyz(11.4099, 19.4153, 10.9292)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B51 #8B235D
analogous
#298B23 #238B51 #238B85
triadic
#238B51 #51238B #8B5123
tetradic
#238B51 #23298B #8B235D #8B8523
square
#238B51 #23298B #8B235D #8B8523
split-complementary
#238B51 #85238B #8B2329
monochromatic
#0A2918 #175A35 #238B51 #2FBC6D #54D48D

Accessibility & contrast

On white

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

On black

4.88
#238B51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B51
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B51#FFFFFF#000000##000000
##238B511.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #238b51;
/* rgb */ color: rgb(35, 139, 81);
/* oklch */ color: oklch(56.4% 0.129 153.8);
Tailwind
colors: {
  custom: {
    50: '#6eae82',
    500: '#238b51',
    950: '#000000',
  },
}
SCSS
$custom: #238b51;
$custom-light: #6eae82;
$custom-dark: #000000;
JSON
{
  "hex": "#238b51",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 81
  },
  "hsl": {
    "h": 146.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.12878,
    "h": 153.8
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238B51

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

Preview Lab → · Contrast checker → · Palette generator →

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