#237D21#237D21

#237D21 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.152 H 142.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#237D21
RGBrgb(35, 125, 33)
HSLhsl(119, 58%, 31%)
HSVhsv(119, 74%, 49%)
CMYKcmyk(72%, 0%, 73.6%, 51%)
CIE-LABlab(45.82, -44.62, 40.53)
CIE-LCHlch(45.82, 60.28, 137.75°)
OKLaboklab(51.82% -0.1212 0.0923)
OKLCHoklch(51.82% 0.152 142.7)
XYZxyz(8.3008, 15.1335, 3.9221)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D21 #7B217D
analogous
#517D21 #237D21 #217D4D
triadic
#237D21 #21237D #7D2123
tetradic
#237D21 #21517D #7B217D #7D4D21
square
#237D21 #21517D #7B217D #7D4D21
split-complementary
#237D21 #4D217D #7D2151
monochromatic
#081C07 #154D14 #237D21 #31AD2E #4CCF49

Accessibility & contrast

On white

5.22
#237D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#237D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D21
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D21#FFFFFF#000000##FFFFFF
##237D211.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#09796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d21;
/* rgb */ color: rgb(35, 125, 33);
/* oklch */ color: oklch(51.8% 0.152 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca462',
    500: '#237d21',
    950: '#000000',
  },
}
SCSS
$custom: #237d21;
$custom-light: #6ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#237d21",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 118.696,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5182,
    "c": 0.15238,
    "h": 142.7
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#237D21
secondary
#AE4AB0
accent
#46E1DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237D21

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

Preview Lab → · Contrast checker → · Palette generator →

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