#238D24#238D24

#238D24 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.170 H 143.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#238D24
RGBrgb(35, 141, 36)
HSLhsl(121, 60%, 35%)
HSVhsv(121, 75%, 55%)
CMYKcmyk(75.2%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.31, -49.92, 44.98)
CIE-LCHlch(51.31, 67.20, 137.98°)
OKLaboklab(56.38% -0.1355 0.102)
OKLCHoklch(56.38% 0.17 143)
XYZxyz(10.5358, 19.5333, 4.8838)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D24 #8D238C
analogous
#578D23 #238D24 #238D59
triadic
#238D24 #24238D #8D2423
tetradic
#238D24 #23578D #8D238C #8D5923
square
#238D24 #23578D #8D238C #8D5923
split-complementary
#238D24 #59238D #8D2357
monochromatic
#0B2B0B #175C17 #238D24 #2FBE31 #55D557

Accessibility & contrast

On white

4.28
#238D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#238D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D24
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D24#FFFFFF#000000##000000
##238D241.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d24;
/* rgb */ color: rgb(35, 141, 36);
/* oklch */ color: oklch(56.4% 0.170 143.0);
Tailwind
colors: {
  custom: {
    50: '#70af66',
    500: '#238d24',
    950: '#000000',
  },
}
SCSS
$custom: #238d24;
$custom-light: #70af66;
$custom-dark: #000000;
JSON
{
  "hex": "#238d24",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 120.566,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.1696,
    "h": 143
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#238D24
secondary
#B953B8
accent
#44E2E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238D24

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

Preview Lab → · Contrast checker → · Palette generator →

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