#237C31#237C31

#237C31 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.139 H 145.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#237C31
RGBrgb(35, 124, 49)
HSLhsl(129, 56%, 31%)
HSVhsv(129, 72%, 49%)
CMYKcmyk(71.8%, 0%, 60.5%, 51.4%)
CIE-LABlab(45.63, -42.43, 32.98)
CIE-LCHlch(45.63, 53.74, 142.14°)
OKLaboklab(51.71% -0.1145 0.0781)
OKLCHoklch(51.71% 0.139 145.7)
XYZxyz(8.4546, 14.9935, 5.3536)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C31 #7C236E
analogous
#417C23 #237C31 #237C5D
triadic
#237C31 #31237C #7C3123
tetradic
#237C31 #23417C #7C236E #7C5D23
square
#237C31 #23417C #7C236E #7C5D23
split-complementary
#237C31 #5D237C #7C2341
monochromatic
#081D0B #164C1E #237C31 #30AC44 #4DCD61

Accessibility & contrast

On white

5.25
#237C31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#237C31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C31
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C31#FFFFFF#000000##FFFFFF
##237C311.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7029
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c31;
/* rgb */ color: rgb(35, 124, 49);
/* oklch */ color: oklch(51.7% 0.139 145.7);
Tailwind
colors: {
  custom: {
    50: '#6ba36c',
    500: '#237c31',
    950: '#000000',
  },
}
SCSS
$custom: #237c31;
$custom-light: #6ba36c;
$custom-dark: #000000;
JSON
{
  "hex": "#237c31",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 49
  },
  "hsl": {
    "h": 129.438,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.13861,
    "h": 145.7
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#237C31
secondary
#AF4C9F
accent
#49C8DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #237C31

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

Preview Lab → · Contrast checker → · Palette generator →

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