#237B2D#237B2D

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

Color values

HEX#237B2D
RGBrgb(35, 123, 45)
HSLhsl(127, 56%, 31%)
HSVhsv(127, 72%, 48%)
CMYKcmyk(71.5%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.24, -42.58, 34.50)
CIE-LCHlch(45.24, 54.80, 140.98°)
OKLaboklab(51.38% -0.1151 0.081)
OKLCHoklch(51.38% 0.141 144.9)
XYZxyz(8.2492, 14.7118, 4.8870)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B2D #7B2371
analogous
#457B23 #237B2D #237B59
triadic
#237B2D #2D237B #7B2D23
tetradic
#237B2D #23457B #7B2371 #7B5923
square
#237B2D #23457B #7B2371 #7B5923
split-complementary
#237B2D #59237B #7B2345
monochromatic
#081C0A #154B1C #237B2D #31AB3E #4CCC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237B2D#FFFFFF#000000##FFFFFF
##237B2D1.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)
#7D6F24
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#04786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b2d;
/* rgb */ color: rgb(35, 123, 45);
/* oklch */ color: oklch(51.4% 0.141 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ba269',
    500: '#237b2d',
    950: '#000000',
  },
}
SCSS
$custom: #237b2d;
$custom-light: #6ba269;
$custom-dark: #000000;
JSON
{
  "hex": "#237b2d",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 126.818,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.14074,
    "h": 144.9
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#237B2D
secondary
#AE4CA3
accent
#49CEDF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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