#237B42#237B42

#237B42 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.121 H 151.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#237B42
RGBrgb(35, 123, 66)
HSLhsl(141, 56%, 31%)
HSVhsv(141, 72%, 48%)
CMYKcmyk(71.5%, 0%, 46.3%, 51.8%)
CIE-LABlab(45.52, -39.32, 23.83)
CIE-LCHlch(45.52, 45.98, 148.79°)
OKLaboklab(51.7% -0.106 0.0586)
OKLCHoklch(51.7% 0.121 151.1)
XYZxyz(8.7587, 14.9156, 7.5706)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B42 #7B235C
analogous
#307B23 #237B42 #237B6E
triadic
#237B42 #42237B #7B4223
tetradic
#237B42 #23307B #7B235C #7B6E23
square
#237B42 #23307B #7B235C #7B6E23
split-complementary
#237B42 #6E237B #7B2330
monochromatic
#081C0F #154B28 #237B42 #31AB5C #4CCC79

Accessibility & contrast

On white

5.27
#237B42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#237B42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B42
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B42#FFFFFF#000000##FFFFFF
##237B421.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #237b42;
/* rgb */ color: rgb(35, 123, 66);
/* oklch */ color: oklch(51.7% 0.121 151.1);
Tailwind
colors: {
  custom: {
    50: '#6aa277',
    500: '#237b42',
    950: '#000000',
  },
}
SCSS
$custom: #237b42;
$custom-light: #6aa277;
$custom-dark: #000000;
JSON
{
  "hex": "#237b42",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 66
  },
  "hsl": {
    "h": 141.136,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.12108,
    "h": 151.1
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#237B42
secondary
#AE4C8B
accent
#49AADF
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #237B42

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

Preview Lab → · Contrast checker → · Palette generator →

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