#237A42#237A42

#237A42 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.4% C 0.120 H 151.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#237A42
RGBrgb(35, 122, 66)
HSLhsl(141, 55%, 31%)
HSVhsv(141, 71%, 48%)
CMYKcmyk(71.3%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.18, -38.92, 23.39)
CIE-LCHlch(45.18, 45.40, 149.00°)
OKLaboklab(51.42% -0.1049 0.0576)
OKLCHoklch(51.42% 0.12 151.2)
XYZxyz(8.6353, 14.6688, 7.5295)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A42 #7A235B
analogous
#2F7A23 #237A42 #237A6D
triadic
#237A42 #42237A #7A4223
tetradic
#237A42 #232F7A #7A235B #7A6D23
square
#237A42 #232F7A #7A235B #7A6D23
split-complementary
#237A42 #6D237A #7A232F
monochromatic
#081B0F #154A28 #237A42 #31AA5C #4CCC79

Accessibility & contrast

On white

5.34
#237A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#237A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A42
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A42#FFFFFF#000000##FFFFFF
##237A421.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a42;
/* rgb */ color: rgb(35, 122, 66);
/* oklch */ color: oklch(51.4% 0.120 151.2);
Tailwind
colors: {
  custom: {
    50: '#6aa177',
    500: '#237a42',
    950: '#000000',
  },
}
SCSS
$custom: #237a42;
$custom-light: #6aa177;
$custom-dark: #000000;
JSON
{
  "hex": "#237a42",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 141.379,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.11965,
    "h": 151.2
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#237A42
secondary
#AD4C8A
accent
#49A9DF
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237A42

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

Preview Lab → · Contrast checker → · Palette generator →

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