#237D22#237D22

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

Color values

HEX#237D22
RGBrgb(35, 125, 34)
HSLhsl(119, 57%, 31%)
HSVhsv(119, 73%, 49%)
CMYKcmyk(72%, 0%, 72.8%, 51%)
CIE-LABlab(45.82, -44.52, 40.12)
CIE-LCHlch(45.82, 59.93, 137.97°)
OKLaboklab(51.83% -0.1209 0.0916)
OKLCHoklch(51.83% 0.152 142.9)
XYZxyz(8.3150, 15.1392, 3.9970)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D22 #7C227D
analogous
#507D22 #237D22 #227D4E
triadic
#237D22 #22237D #7D2223
tetradic
#237D22 #22507D #7C227D #7D4E22
square
#237D22 #22507D #7C227D #7D4E22
split-complementary
#237D22 #4E227D #7D2250
monochromatic
#081D08 #164D15 #237D22 #30AD2F #4DCE4B

Accessibility & contrast

On white

5.21
#237D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #237D22
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D22#FFFFFF#000000##FFFFFF
##237D221.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#08796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d22;
/* rgb */ color: rgb(35, 125, 34);
/* oklch */ color: oklch(51.8% 0.152 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#237d22',
    950: '#000000',
  },
}
SCSS
$custom: #237d22;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#237d22",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 119.341,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.1517,
    "h": 142.9
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#237D22
secondary
#AF4BB0
accent
#47E0DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237D22

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

Preview Lab → · Contrast checker → · Palette generator →

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