#237D20#237D20

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

Color values

HEX#237D20
RGBrgb(35, 125, 32)
HSLhsl(118, 59%, 31%)
HSVhsv(118, 74%, 49%)
CMYKcmyk(72%, 0%, 74.4%, 51%)
CIE-LABlab(45.81, -44.71, 40.93)
CIE-LCHlch(45.81, 60.61, 137.53°)
OKLaboklab(51.81% -0.1215 0.093)
OKLCHoklch(51.81% 0.153 142.6)
XYZxyz(8.2870, 15.1279, 3.8495)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D20 #7A207D
analogous
#517D20 #237D20 #207D4B
triadic
#237D20 #20237D #7D2023
tetradic
#237D20 #20517D #7A207D #7D4B20
square
#237D20 #20517D #7A207D #7D4B20
split-complementary
#237D20 #4B207D #7D2051
monochromatic
#081C07 #154C14 #237D20 #31AE2C #4CD047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237D20#FFFFFF#000000##FFFFFF
##237D201.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)
#807110
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#09796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d20;
/* rgb */ color: rgb(35, 125, 32);
/* oklch */ color: oklch(51.8% 0.153 142.6);
Tailwind
colors: {
  custom: {
    50: '#6ca462',
    500: '#237d20',
    950: '#000000',
  },
}
SCSS
$custom: #237d20;
$custom-light: #6ca462;
$custom-dark: #000000;
JSON
{
  "hex": "#237d20",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 118.065,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.15304,
    "h": 142.6
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#237D20
secondary
#AD49B0
accent
#45E2DD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #237D20

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

Preview Lab → · Contrast checker → · Palette generator →

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