#237A38#237A38

#237A38 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.2% C 0.129 H 147.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#237A38
RGBrgb(35, 122, 56)
HSLhsl(134, 55%, 31%)
HSVhsv(134, 71%, 48%)
CMYKcmyk(71.3%, 0%, 54.1%, 52.2%)
CIE-LABlab(45.03, -40.63, 28.65)
CIE-LCHlch(45.03, 49.72, 144.81°)
OKLaboklab(51.25% -0.1095 0.0691)
OKLCHoklch(51.25% 0.129 147.8)
XYZxyz(8.3659, 14.5610, 6.1103)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A38 #7A2365
analogous
#397A23 #237A38 #237A63
triadic
#237A38 #38237A #7A3823
tetradic
#237A38 #23397A #7A2365 #7A6323
square
#237A38 #23397A #7A2365 #7A6323
split-complementary
#237A38 #63237A #7A2339
monochromatic
#081B0C #154A22 #237A38 #31AA4E #4CCC6B

Accessibility & contrast

On white

5.37
#237A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#237A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A38
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A38#FFFFFF#000000##FFFFFF
##237A381.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F32
Deuteranopia (green-blind)
#71683D
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a38;
/* rgb */ color: rgb(35, 122, 56);
/* oklch */ color: oklch(51.2% 0.129 147.8);
Tailwind
colors: {
  custom: {
    50: '#6ba170',
    500: '#237a38',
    950: '#000000',
  },
}
SCSS
$custom: #237a38;
$custom-light: #6ba170;
$custom-dark: #000000;
JSON
{
  "hex": "#237a38",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 134.483,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51245,
    "c": 0.12946,
    "h": 147.8
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#237A38
secondary
#AD4C95
accent
#49BBDF
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #237A38

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

Preview Lab → · Contrast checker → · Palette generator →

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