#237E31#237E31

#237E31 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.141 H 145.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#237E31
RGBrgb(35, 126, 49)
HSLhsl(129, 57%, 32%)
HSVhsv(129, 72%, 49%)
CMYKcmyk(72.2%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.31, -43.18, 33.78)
CIE-LCHlch(46.31, 54.82, 141.96°)
OKLaboklab(52.28% -0.1166 0.0798)
OKLCHoklch(52.28% 0.141 145.6)
XYZxyz(8.7078, 15.4998, 5.4380)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E31 #7E2370
analogous
#437E23 #237E31 #237E5F
triadic
#237E31 #31237E #7E3123
tetradic
#237E31 #23437E #7E2370 #7E5F23
square
#237E31 #23437E #7E2370 #7E5F23
split-complementary
#237E31 #5F237E #7E2343
monochromatic
#081E0C #164E1E #237E31 #30AE44 #4ECE61

Accessibility & contrast

On white

5.12
#237E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#237E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E31
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E31#FFFFFF#000000##FFFFFF
##237E311.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237e31;
/* rgb */ color: rgb(35, 126, 49);
/* oklch */ color: oklch(52.3% 0.141 145.6);
Tailwind
colors: {
  custom: {
    50: '#6ca46c',
    500: '#237e31',
    950: '#000000',
  },
}
SCSS
$custom: #237e31;
$custom-light: #6ca46c;
$custom-dark: #000000;
JSON
{
  "hex": "#237e31",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 129.231,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.14127,
    "h": 145.6
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #237E31

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

Preview Lab → · Contrast checker → · Palette generator →

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