#238C2D#238C2D

#238C2D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.162 H 144.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#238C2D
RGBrgb(35, 140, 45)
HSLhsl(126, 60%, 34%)
HSVhsv(126, 75%, 55%)
CMYKcmyk(75%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.04, -48.71, 40.98)
CIE-LCHlch(51.04, 63.65, 139.93°)
OKLaboklab(56.18% -0.1317 0.0947)
OKLCHoklch(56.18% 0.162 144.3)
XYZxyz(10.5442, 19.3018, 5.6520)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C2D #8C2382
analogous
#4E8C23 #238C2D #238C62
triadic
#238C2D #2D238C #8C2D23
tetradic
#238C2D #234E8C #8C2382 #8C6223
square
#238C2D #234E8C #8C2382 #8C6223
split-complementary
#238C2D #62238C #8C234E
monochromatic
#0B2A0E #175B1D #238C2D #2FBD3D #55D461

Accessibility & contrast

On white

4.32
#238C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#238C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C2D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C2D#FFFFFF#000000##000000
##238C2D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c2d;
/* rgb */ color: rgb(35, 140, 45);
/* oklch */ color: oklch(56.2% 0.162 144.3);
Tailwind
colors: {
  custom: {
    50: '#6faf6b',
    500: '#238c2d',
    950: '#000000',
  },
}
SCSS
$custom: #238c2d;
$custom-light: #6faf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#238c2d",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 125.714,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.16228,
    "h": 144.3
  },
  "luminance": 0.19303
}

Semantic roles & 50–950 ramp

primary
#238C2D
secondary
#B852AF
accent
#45D4E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #238C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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