#238B2D#238B2D

#238B2D is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.161 H 144.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#238B2D
RGBrgb(35, 139, 45)
HSLhsl(126, 60%, 34%)
HSVhsv(126, 75%, 55%)
CMYKcmyk(74.8%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.70, -48.36, 40.61)
CIE-LCHlch(50.70, 63.15, 139.98°)
OKLaboklab(55.9% -0.1308 0.094)
OKLCHoklch(55.9% 0.161 144.3)
XYZxyz(10.3987, 19.0108, 5.6035)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B2D #8B2381
analogous
#4D8B23 #238B2D #238B61
triadic
#238B2D #2D238B #8B2D23
tetradic
#238B2D #234D8B #8B2381 #8B6123
square
#238B2D #234D8B #8B2381 #8B6123
split-complementary
#238B2D #61238B #8B234D
monochromatic
#0A290D #175A1D #238B2D #2FBC3D #54D461

Accessibility & contrast

On white

4.37
#238B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#238B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B2D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B2D#FFFFFF#000000##000000
##238B2D1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238b2d;
/* rgb */ color: rgb(35, 139, 45);
/* oklch */ color: oklch(55.9% 0.161 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fae6a',
    500: '#238b2d',
    950: '#000000',
  },
}
SCSS
$custom: #238b2d;
$custom-light: #6fae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#238b2d",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 125.769,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.16105,
    "h": 144.3
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#238B2D
secondary
#B852AE
accent
#45D4E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #238B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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