#237A31#237A31

#237A31 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.136 H 145.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#237A31
RGBrgb(35, 122, 49)
HSLhsl(130, 55%, 31%)
HSVhsv(130, 71%, 48%)
CMYKcmyk(71.3%, 0%, 59.8%, 52.2%)
CIE-LABlab(44.94, -41.67, 32.17)
CIE-LCHlch(44.94, 52.65, 142.33°)
OKLaboklab(51.14% -0.1125 0.0763)
OKLCHoklch(51.14% 0.136 145.9)
XYZxyz(8.2065, 14.4973, 5.2709)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A31 #7A236C
analogous
#407A23 #237A31 #237A5C
triadic
#237A31 #31237A #7A3123
tetradic
#237A31 #23407A #7A236C #7A5C23
square
#237A31 #23407A #7A236C #7A5C23
split-complementary
#237A31 #5C237A #7A2340
monochromatic
#081B0B #154A1E #237A31 #31AA44 #4CCC60

Accessibility & contrast

On white

5.39
#237A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#237A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A31
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A31#FFFFFF#000000##FFFFFF
##237A311.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#716837
Tritanopia (blue-blind)
#02776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237a31;
/* rgb */ color: rgb(35, 122, 49);
/* oklch */ color: oklch(51.1% 0.136 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ba16b',
    500: '#237a31',
    950: '#000000',
  },
}
SCSS
$custom: #237a31;
$custom-light: #6ba16b;
$custom-dark: #000000;
JSON
{
  "hex": "#237a31",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 129.655,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51142,
    "c": 0.13593,
    "h": 145.9
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#237A31
secondary
#AD4C9D
accent
#49C7DF
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #237A31

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

Preview Lab → · Contrast checker → · Palette generator →

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