#238E20#238E20

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

Color values

HEX#238E20
RGBrgb(35, 142, 32)
HSLhsl(118, 63%, 34%)
HSVhsv(118, 77%, 56%)
CMYKcmyk(75.4%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.62, -50.59, 46.78)
CIE-LCHlch(51.62, 68.90, 137.24°)
OKLaboklab(56.63% -0.1375 0.1052)
OKLCHoklch(56.63% 0.173 142.6)
XYZxyz(10.6262, 19.8064, 4.6292)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E20 #8B208E
analogous
#5A8E20 #238E20 #208E54
triadic
#238E20 #20238E #8E2023
tetradic
#238E20 #205A8E #8B208E #8E5420
square
#238E20 #205A8E #8B208E #8E5420
split-complementary
#238E20 #54208E #8E205A
monochromatic
#0A2A09 #175C15 #238E20 #2FC02B #54D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238E20#FFFFFF#000000##000000
##238E201.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)
#918007
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e20;
/* rgb */ color: rgb(35, 142, 32);
/* oklch */ color: oklch(56.6% 0.173 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b064',
    500: '#238e20',
    950: '#000000',
  },
}
SCSS
$custom: #238e20;
$custom-light: #71b064;
$custom-dark: #000000;
JSON
{
  "hex": "#238e20",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 118.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.17311,
    "h": 142.6
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#238E20
secondary
#B84FBB
accent
#42E6E2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E20

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

Preview Lab → · Contrast checker → · Palette generator →

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