#237E21#237E21

#237E21 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.154 H 142.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#237E21
RGBrgb(35, 126, 33)
HSLhsl(119, 58%, 31%)
HSVhsv(119, 74%, 49%)
CMYKcmyk(72.2%, 0%, 73.8%, 50.6%)
CIE-LABlab(46.16, -44.97, 40.88)
CIE-LCHlch(46.16, 60.78, 137.73°)
OKLaboklab(52.11% -0.1222 0.093)
OKLCHoklch(52.11% 0.154 142.7)
XYZxyz(8.4280, 15.3879, 3.9646)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E21 #7C217E
analogous
#517E21 #237E21 #217E4D
triadic
#237E21 #21237E #7E2123
tetradic
#237E21 #21517E #7C217E #7E4D21
square
#237E21 #21517E #7C217E #7E4D21
split-complementary
#237E21 #4D217E #7E2151
monochromatic
#081D08 #164E14 #237E21 #30AE2E #4DD04A

Accessibility & contrast

On white

5.15
#237E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#237E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E21
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E21#FFFFFF#000000##FFFFFF
##237E211.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817212
Deuteranopia (green-blind)
#766B2A
Tritanopia (blue-blind)
#087A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237e21;
/* rgb */ color: rgb(35, 126, 33);
/* oklch */ color: oklch(52.1% 0.154 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da462',
    500: '#237e21',
    950: '#000000',
  },
}
SCSS
$custom: #237e21;
$custom-light: #6da462;
$custom-dark: #000000;
JSON
{
  "hex": "#237e21",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 33
  },
  "hsl": {
    "h": 118.71,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.1536,
    "h": 142.7
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#237E21
secondary
#AF4AB1
accent
#46E2DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237E21

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

Preview Lab → · Contrast checker → · Palette generator →

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