#237B3E#237B3E

#237B3E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.125 H 149.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#237B3E
RGBrgb(35, 123, 62)
HSLhsl(138, 56%, 31%)
HSVhsv(138, 72%, 48%)
CMYKcmyk(71.5%, 0%, 49.6%, 51.8%)
CIE-LABlab(45.46, -40.04, 25.95)
CIE-LCHlch(45.46, 47.71, 147.05°)
OKLaboklab(51.63% -0.1078 0.0633)
OKLCHoklch(51.63% 0.125 149.6)
XYZxyz(8.6449, 14.8701, 6.9711)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B3E #7B2360
analogous
#347B23 #237B3E #237B6A
triadic
#237B3E #3E237B #7B3E23
tetradic
#237B3E #23347B #7B2360 #7B6A23
square
#237B3E #23347B #7B2360 #7B6A23
split-complementary
#237B3E #6A237B #7B2334
monochromatic
#081C0E #154B26 #237B3E #31AB56 #4CCC73

Accessibility & contrast

On white

5.28
#237B3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#237B3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B3E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B3E#FFFFFF#000000##FFFFFF
##237B3E1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7039
Deuteranopia (green-blind)
#716942
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237b3e;
/* rgb */ color: rgb(35, 123, 62);
/* oklch */ color: oklch(51.6% 0.125 149.6);
Tailwind
colors: {
  custom: {
    50: '#6ba274',
    500: '#237b3e',
    950: '#000000',
  },
}
SCSS
$custom: #237b3e;
$custom-light: #6ba274;
$custom-dark: #000000;
JSON
{
  "hex": "#237b3e",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 62
  },
  "hsl": {
    "h": 138.409,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.12505,
    "h": 149.6
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#237B3E
secondary
#AE4C90
accent
#49B1DF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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