#237A21#237A21

#237A21 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.149 H 142.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#237A21
RGBrgb(35, 122, 33)
HSLhsl(119, 57%, 30%)
HSVhsv(119, 73%, 48%)
CMYKcmyk(71.3%, 0%, 73%, 52.2%)
CIE-LABlab(44.78, -43.53, 39.45)
CIE-LCHlch(44.78, 58.75, 137.82°)
OKLaboklab(50.96% -0.1183 0.0901)
OKLCHoklch(50.96% 0.149 142.7)
XYZxyz(7.9267, 14.3854, 3.7975)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A21 #78217A
analogous
#4F7A21 #237A21 #217A4C
triadic
#237A21 #21237A #7A2123
tetradic
#237A21 #214F7A #78217A #7A4C21
square
#237A21 #214F7A #78217A #7A4C21
split-complementary
#237A21 #4C217A #7A214F
monochromatic
#071A07 #154A14 #237A21 #31AA2E #4BCD48

Accessibility & contrast

On white

5.42
#237A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#237A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A21
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A21#FFFFFF#000000##FFFFFF
##237A211.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E13
Deuteranopia (green-blind)
#73672A
Tritanopia (blue-blind)
#0B7668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a21;
/* rgb */ color: rgb(35, 122, 33);
/* oklch */ color: oklch(51.0% 0.149 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca162',
    500: '#237a21',
    950: '#000000',
  },
}
SCSS
$custom: #237a21;
$custom-light: #6ca162;
$custom-dark: #000000;
JSON
{
  "hex": "#237a21",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 118.652,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.14868,
    "h": 142.7
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#237A21
secondary
#AB4AAD
accent
#47E1DD
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #237A21

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

Preview Lab → · Contrast checker → · Palette generator →

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