#237B2B#237B2B

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

Color values

HEX#237B2B
RGBrgb(35, 123, 43)
HSLhsl(125, 56%, 31%)
HSVhsv(125, 72%, 48%)
CMYKcmyk(71.5%, 0%, 65%, 51.8%)
CIE-LABlab(45.22, -42.82, 35.44)
CIE-LCHlch(45.22, 55.59, 140.39°)
OKLaboklab(51.35% -0.1159 0.0828)
OKLCHoklch(51.35% 0.142 144.5)
XYZxyz(8.2116, 14.6968, 4.6890)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B2B #7B2373
analogous
#477B23 #237B2B #237B57
triadic
#237B2B #2B237B #7B2B23
tetradic
#237B2B #23477B #7B2373 #7B5723
square
#237B2B #23477B #7B2373 #7B5723
split-complementary
#237B2B #57237B #7B2347
monochromatic
#081C0A #154B1A #237B2B #31AB3C #4CCC58

Accessibility & contrast

On white

5.33
#237B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#237B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B2B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B2B#FFFFFF#000000##FFFFFF
##237B2B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#05786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b2b;
/* rgb */ color: rgb(35, 123, 43);
/* oklch */ color: oklch(51.4% 0.142 144.5);
Tailwind
colors: {
  custom: {
    50: '#6ba268',
    500: '#237b2b',
    950: '#000000',
  },
}
SCSS
$custom: #237b2b;
$custom-light: #6ba268;
$custom-dark: #000000;
JSON
{
  "hex": "#237b2b",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 125.455,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51351,
    "c": 0.1424,
    "h": 144.5
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#237B2B
secondary
#AE4CA5
accent
#49D1DF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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