#237F21#237F21

#237F21 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.155 H 142.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#237F21
RGBrgb(35, 127, 33)
HSLhsl(119, 59%, 31%)
HSVhsv(119, 74%, 50%)
CMYKcmyk(72.4%, 0%, 74%, 50.2%)
CIE-LABlab(46.51, -45.33, 41.24)
CIE-LCHlch(46.51, 61.28, 137.70°)
OKLaboklab(52.39% -0.1232 0.0938)
OKLCHoklch(52.39% 0.155 142.7)
XYZxyz(8.5565, 15.6449, 4.0074)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F21 #7D217F
analogous
#527F21 #237F21 #217F4E
triadic
#237F21 #21237F #7F2123
tetradic
#237F21 #21527F #7D217F #7F4E21
square
#237F21 #21527F #7D217F #7F4E21
split-complementary
#237F21 #4E217F #7F2152
monochromatic
#081E08 #164E14 #237F21 #30B02E #4DD04A

Accessibility & contrast

On white

5.09
#237F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#237F21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F21
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F21#FFFFFF#000000##FFFFFF
##237F211.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827311
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#077B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237f21;
/* rgb */ color: rgb(35, 127, 33);
/* oklch */ color: oklch(52.4% 0.155 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da562',
    500: '#237f21',
    950: '#000000',
  },
}
SCSS
$custom: #237f21;
$custom-light: #6da562;
$custom-dark: #000000;
JSON
{
  "hex": "#237f21",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 33
  },
  "hsl": {
    "h": 118.723,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.15482,
    "h": 142.7
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#237F21
secondary
#AF4AB2
accent
#46E2DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237F21

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

Preview Lab → · Contrast checker → · Palette generator →

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