#237D42#237D42

#237D42 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.124 H 150.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#237D42
RGBrgb(35, 125, 66)
HSLhsl(141, 56%, 31%)
HSVhsv(141, 72%, 49%)
CMYKcmyk(72%, 0%, 47.2%, 51%)
CIE-LABlab(46.20, -40.13, 24.70)
CIE-LCHlch(46.20, 47.12, 148.39°)
OKLaboklab(52.26% -0.1081 0.0606)
OKLCHoklch(52.26% 0.124 150.7)
XYZxyz(9.0094, 15.4169, 7.6542)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D42 #7D235E
analogous
#317D23 #237D42 #237D6F
triadic
#237D42 #42237D #7D4223
tetradic
#237D42 #23317D #7D235E #7D6F23
square
#237D42 #23317D #7D235E #7D6F23
split-complementary
#237D42 #6F237D #7D2331
monochromatic
#081D10 #164D29 #237D42 #30AD5B #4DCD79

Accessibility & contrast

On white

5.14
#237D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#237D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D42
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D42#FFFFFF#000000##FFFFFF
##237D421.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723D
Deuteranopia (green-blind)
#736A46
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d42;
/* rgb */ color: rgb(35, 125, 66);
/* oklch */ color: oklch(52.3% 0.124 150.7);
Tailwind
colors: {
  custom: {
    50: '#6ba377',
    500: '#237d42',
    950: '#000000',
  },
}
SCSS
$custom: #237d42;
$custom-light: #6ba377;
$custom-dark: #000000;
JSON
{
  "hex": "#237d42",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 140.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.12393,
    "h": 150.7
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#237D42
secondary
#AF4C8D
accent
#48ABE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #237D42

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

Preview Lab → · Contrast checker → · Palette generator →

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