#237B2E#237B2E

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

Color values

HEX#237B2E
RGBrgb(35, 123, 46)
HSLhsl(128, 56%, 31%)
HSVhsv(128, 72%, 48%)
CMYKcmyk(71.5%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.25, -42.45, 34.03)
CIE-LCHlch(45.25, 54.41, 141.28°)
OKLaboklab(51.39% -0.1147 0.08)
OKLCHoklch(51.39% 0.14 145.1)
XYZxyz(8.2687, 14.7196, 4.9896)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B2E #7B2370
analogous
#447B23 #237B2E #237B5A
triadic
#237B2E #2E237B #7B2E23
tetradic
#237B2E #23447B #7B2370 #7B5A23
square
#237B2E #23447B #7B2370 #7B5A23
split-complementary
#237B2E #5A237B #7B2344
monochromatic
#081C0A #154B1C #237B2E #31AB40 #4CCC5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237B2E#FFFFFF#000000##FFFFFF
##237B2E1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#03786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237b2e;
/* rgb */ color: rgb(35, 123, 46);
/* oklch */ color: oklch(51.4% 0.140 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ba26a',
    500: '#237b2e',
    950: '#000000',
  },
}
SCSS
$custom: #237b2e;
$custom-light: #6ba26a;
$custom-dark: #000000;
JSON
{
  "hex": "#237b2e",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 127.5,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.13989,
    "h": 145.1
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#237B2E
secondary
#AE4CA1
accent
#49CCDF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #237B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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