#238D2D#238D2D

#238D2D is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.164 H 144.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#238D2D
RGBrgb(35, 141, 45)
HSLhsl(126, 60%, 35%)
HSVhsv(126, 75%, 55%)
CMYKcmyk(75.2%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.38, -49.06, 41.34)
CIE-LCHlch(51.38, 64.16, 139.88°)
OKLaboklab(56.46% -0.1327 0.0955)
OKLCHoklch(56.46% 0.164 144.3)
XYZxyz(10.6910, 19.5953, 5.7010)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D2D #8D2383
analogous
#4E8D23 #238D2D #238D62
triadic
#238D2D #2D238D #8D2D23
tetradic
#238D2D #234E8D #8D2383 #8D6223
square
#238D2D #234E8D #8D2383 #8D6223
split-complementary
#238D2D #62238D #8D234E
monochromatic
#0B2B0E #175C1D #238D2D #2FBE3D #55D562

Accessibility & contrast

On white

4.27
#238D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#238D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D2D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D2D#FFFFFF#000000##000000
##238D2D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F20
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d2d;
/* rgb */ color: rgb(35, 141, 45);
/* oklch */ color: oklch(56.5% 0.164 144.3);
Tailwind
colors: {
  custom: {
    50: '#70af6b',
    500: '#238d2d',
    950: '#000000',
  },
}
SCSS
$custom: #238d2d;
$custom-light: #70af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#238d2d",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 125.66,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56464,
    "c": 0.1635,
    "h": 144.3
  },
  "luminance": 0.19597
}

Semantic roles & 50–950 ramp

primary
#238D2D
secondary
#B953AF
accent
#44D4E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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