#238D2B#238D2B

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

Color values

HEX#238D2B
RGBrgb(35, 141, 43)
HSLhsl(125, 60%, 35%)
HSVhsv(125, 75%, 55%)
CMYKcmyk(75.2%, 0%, 69.5%, 44.7%)
CIE-LABlab(51.36, -49.27, 42.19)
CIE-LCHlch(51.36, 64.86, 139.42°)
OKLaboklab(56.44% -0.1333 0.0971)
OKLCHoklch(56.44% 0.165 143.9)
XYZxyz(10.6534, 19.5803, 5.5030)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D2B #8D2385
analogous
#508D23 #238D2B #238D60
triadic
#238D2B #2B238D #8D2B23
tetradic
#238D2B #23508D #8D2385 #8D6023
square
#238D2B #23508D #8D2385 #8D6023
split-complementary
#238D2B #60238D #8D2350
monochromatic
#0B2B0D #175C1C #238D2B #2FBE3A #55D55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238D2B#FFFFFF#000000##000000
##238D2B1.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)
#907F1D
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d2b;
/* rgb */ color: rgb(35, 141, 43);
/* oklch */ color: oklch(56.4% 0.165 143.9);
Tailwind
colors: {
  custom: {
    50: '#70af69',
    500: '#238d2b',
    950: '#000000',
  },
}
SCSS
$custom: #238d2b;
$custom-light: #70af69;
$custom-dark: #000000;
JSON
{
  "hex": "#238d2b",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 124.528,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.16494,
    "h": 143.9
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#238D2B
secondary
#B953B1
accent
#44D7E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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