#237D31#237D31

#237D31 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.140 H 145.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#237D31
RGBrgb(35, 125, 49)
HSLhsl(129, 56%, 31%)
HSVhsv(129, 72%, 49%)
CMYKcmyk(72%, 0%, 60.8%, 51%)
CIE-LABlab(45.97, -42.81, 33.38)
CIE-LCHlch(45.97, 54.28, 142.05°)
OKLaboklab(52% -0.1156 0.0789)
OKLCHoklch(52% 0.14 145.7)
XYZxyz(8.5805, 15.2454, 5.3956)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D31 #7D236F
analogous
#427D23 #237D31 #237D5E
triadic
#237D31 #31237D #7D3123
tetradic
#237D31 #23427D #7D236F #7D5E23
square
#237D31 #23427D #7D236F #7D5E23
split-complementary
#237D31 #5E237D #7D2342
monochromatic
#081D0C #164D1E #237D31 #30AD44 #4DCD61

Accessibility & contrast

On white

5.19
#237D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#237D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D31
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D31#FFFFFF#000000##FFFFFF
##237D311.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d31;
/* rgb */ color: rgb(35, 125, 49);
/* oklch */ color: oklch(52.0% 0.140 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ca46c',
    500: '#237d31',
    950: '#000000',
  },
}
SCSS
$custom: #237d31;
$custom-light: #6ca46c;
$custom-dark: #000000;
JSON
{
  "hex": "#237d31",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 129.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.13995,
    "h": 145.7
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#237D31
secondary
#AF4CA0
accent
#48C8E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #237D31

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

Preview Lab → · Contrast checker → · Palette generator →

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