#237B21#237B21

#237B21 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.150 H 142.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#237B21
RGBrgb(35, 123, 33)
HSLhsl(119, 58%, 31%)
HSVhsv(119, 73%, 48%)
CMYKcmyk(71.5%, 0%, 73.2%, 51.8%)
CIE-LABlab(45.13, -43.90, 39.81)
CIE-LCHlch(45.13, 59.26, 137.79°)
OKLaboklab(51.25% -0.1193 0.0908)
OKLCHoklch(51.25% 0.15 142.7)
XYZxyz(8.0501, 14.6322, 3.8386)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B21 #79217B
analogous
#507B21 #237B21 #217B4C
triadic
#237B21 #21237B #7B2123
tetradic
#237B21 #21507B #79217B #7B4C21
square
#237B21 #21507B #79217B #7B4C21
split-complementary
#237B21 #4C217B #7B2150
monochromatic
#081A07 #154B14 #237B21 #31AB2E #4BCE48

Accessibility & contrast

On white

5.35
#237B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#237B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B21
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B21#FFFFFF#000000##FFFFFF
##237B211.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F13
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#0A7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b21;
/* rgb */ color: rgb(35, 123, 33);
/* oklch */ color: oklch(51.2% 0.150 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ca262',
    500: '#237b21',
    950: '#000000',
  },
}
SCSS
$custom: #237b21;
$custom-light: #6ca262;
$custom-dark: #000000;
JSON
{
  "hex": "#237b21",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 118.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.14992,
    "h": 142.7
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#237B21
secondary
#AC4AAE
accent
#47E1DE
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #237B21

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

Preview Lab → · Contrast checker → · Palette generator →

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