#238E21#238E21

#238E21 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.6% C 0.173 H 142.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238E21
RGBrgb(35, 142, 33)
HSLhsl(119, 62%, 34%)
HSVhsv(119, 77%, 56%)
CMYKcmyk(75.4%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.62, -50.51, 46.43)
CIE-LCHlch(51.62, 68.60, 137.41°)
OKLaboklab(56.64% -0.1372 0.1046)
OKLCHoklch(56.64% 0.173 142.7)
XYZxyz(10.6400, 19.8119, 4.7019)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E21 #8C218E
analogous
#5A8E21 #238E21 #218E56
triadic
#238E21 #21238E #8E2123
tetradic
#238E21 #215A8E #8C218E #8E5621
square
#238E21 #215A8E #8C218E #8E5621
split-complementary
#238E21 #56218E #8E215A
monochromatic
#0B2B0A #175C15 #238E21 #2FC02D #55D752

Accessibility & contrast

On white

4.23
#238E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E21
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E21#FFFFFF#000000##000000
##238E211.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e21;
/* rgb */ color: rgb(35, 142, 33);
/* oklch */ color: oklch(56.6% 0.173 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b064',
    500: '#238e21',
    950: '#000000',
  },
}
SCSS
$custom: #238e21;
$custom-light: #71b064;
$custom-dark: #000000;
JSON
{
  "hex": "#238e21",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 118.899,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.17255,
    "h": 142.7
  },
  "luminance": 0.19813
}

Semantic roles & 50–950 ramp

primary
#238E21
secondary
#B850BA
accent
#42E5E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E21

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

Preview Lab → · Contrast checker → · Palette generator →

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