#238B21#238B21

#238B21 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.169 H 142.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#238B21
RGBrgb(35, 139, 33)
HSLhsl(119, 62%, 34%)
HSVhsv(119, 76%, 55%)
CMYKcmyk(74.8%, 0%, 76.3%, 45.5%)
CIE-LABlab(50.61, -49.49, 45.41)
CIE-LCHlch(50.61, 67.17, 137.46°)
OKLaboklab(55.79% -0.1345 0.1025)
OKLCHoklch(55.79% 0.169 142.7)
XYZxyz(10.1997, 18.9312, 4.5551)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238B21 #89218B
analogous
#588B21 #238B21 #218B54
triadic
#238B21 #21238B #8B2123
tetradic
#238B21 #21588B #89218B #8B5421
square
#238B21 #21588B #89218B #8B5421
split-complementary
#238B21 #54218B #8B2158
monochromatic
#0A280A #175A15 #238B21 #2FBC2D #53D651

Accessibility & contrast

On white

4.39
#238B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#238B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238B21
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238B21#FFFFFF#000000##000000
##238B211.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0C
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #238b21;
/* rgb */ color: rgb(35, 139, 33);
/* oklch */ color: oklch(55.8% 0.169 142.7);
Tailwind
colors: {
  custom: {
    50: '#70ae64',
    500: '#238b21',
    950: '#000000',
  },
}
SCSS
$custom: #238b21;
$custom-light: #70ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#238b21",
  "rgb": {
    "r": 35,
    "g": 139,
    "b": 33
  },
  "hsl": {
    "h": 118.868,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.16907,
    "h": 142.7
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#238B21
secondary
#B74FB9
accent
#43E5E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238B21

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

Preview Lab → · Contrast checker → · Palette generator →

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