#238F20#238F20

#238F20 is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.174 H 142.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238F20
RGBrgb(35, 143, 32)
HSLhsl(118, 63%, 34%)
HSVhsv(118, 78%, 56%)
CMYKcmyk(75.5%, 0%, 77.6%, 43.9%)
CIE-LABlab(51.96, -50.92, 47.11)
CIE-LCHlch(51.96, 69.37, 137.22°)
OKLaboklab(56.91% -0.1384 0.1059)
OKLCHoklch(56.91% 0.174 142.6)
XYZxyz(10.7757, 20.1053, 4.6790)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F20 #8C208F
analogous
#5B8F20 #238F20 #208F54
triadic
#238F20 #20238F #8F2023
tetradic
#238F20 #205B8F #8C208F #8F5420
square
#238F20 #205B8F #8C208F #8F5420
split-complementary
#238F20 #54208F #8F205B
monochromatic
#0B2B0A #175D15 #238F20 #2FC12B #55D851

Accessibility & contrast

On white

4.18
#238F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F20
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F20#FFFFFF#000000##000000
##238F201.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#86792C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238f20;
/* rgb */ color: rgb(35, 143, 32);
/* oklch */ color: oklch(56.9% 0.174 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b164',
    500: '#238f20',
    950: '#000000',
  },
}
SCSS
$custom: #238f20;
$custom-light: #71b164;
$custom-dark: #000000;
JSON
{
  "hex": "#238f20",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 118.378,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.17425,
    "h": 142.6
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238F20

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

Preview Lab → · Contrast checker → · Palette generator →

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