#237B31#237B31

#237B31 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.137 H 145.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#237B31
RGBrgb(35, 123, 49)
HSLhsl(130, 56%, 31%)
HSVhsv(130, 72%, 48%)
CMYKcmyk(71.5%, 0%, 60.2%, 51.8%)
CIE-LABlab(45.28, -42.05, 32.58)
CIE-LCHlch(45.28, 53.19, 142.23°)
OKLaboklab(51.43% -0.1135 0.0772)
OKLCHoklch(51.43% 0.137 145.8)
XYZxyz(8.3299, 14.7441, 5.3120)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B31 #7B236D
analogous
#417B23 #237B31 #237B5D
triadic
#237B31 #31237B #7B3123
tetradic
#237B31 #23417B #7B236D #7B5D23
square
#237B31 #23417B #7B236D #7B5D23
split-complementary
#237B31 #5D237B #7B2341
monochromatic
#081C0B #154B1E #237B31 #31AB44 #4CCC61

Accessibility & contrast

On white

5.32
#237B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#237B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B31
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B31#FFFFFF#000000##FFFFFF
##237B311.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702A
Deuteranopia (green-blind)
#726837
Tritanopia (blue-blind)
#01786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b31;
/* rgb */ color: rgb(35, 123, 49);
/* oklch */ color: oklch(51.4% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#6ba26b',
    500: '#237b31',
    950: '#000000',
  },
}
SCSS
$custom: #237b31;
$custom-light: #6ba26b;
$custom-dark: #000000;
JSON
{
  "hex": "#237b31",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 129.545,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.13728,
    "h": 145.8
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#237B31
secondary
#AE4C9E
accent
#49C7DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #237B31

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

Preview Lab → · Contrast checker → · Palette generator →

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