#237D38#237D38

#237D38 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.134 H 147.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#237D38
RGBrgb(35, 125, 56)
HSLhsl(134, 56%, 31%)
HSVhsv(134, 72%, 49%)
CMYKcmyk(72%, 0%, 55.2%, 51%)
CIE-LABlab(46.05, -41.80, 29.90)
CIE-LCHlch(46.05, 51.39, 144.42°)
OKLaboklab(52.09% -0.1126 0.0718)
OKLCHoklch(52.09% 0.134 147.5)
XYZxyz(8.7399, 15.3091, 6.2350)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D38 #7D2368
analogous
#3B7D23 #237D38 #237D65
triadic
#237D38 #38237D #7D3823
tetradic
#237D38 #233B7D #7D2368 #7D6523
square
#237D38 #233B7D #7D2368 #7D6523
split-complementary
#237D38 #65237D #7D233B
monochromatic
#081D0D #164D23 #237D38 #30AD4D #4DCD6B

Accessibility & contrast

On white

5.17
#237D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#237D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D38
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D38#FFFFFF#000000##FFFFFF
##237D381.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7232
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d38;
/* rgb */ color: rgb(35, 125, 56);
/* oklch */ color: oklch(52.1% 0.134 147.5);
Tailwind
colors: {
  custom: {
    50: '#6ba370',
    500: '#237d38',
    950: '#000000',
  },
}
SCSS
$custom: #237d38;
$custom-light: #6ba370;
$custom-dark: #000000;
JSON
{
  "hex": "#237d38",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 134,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.13359,
    "h": 147.5
  },
  "luminance": 0.1531
}

Semantic roles & 50–950 ramp

primary
#237D38
secondary
#AF4C98
accent
#48BCE0
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #237D38

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

Preview Lab → · Contrast checker → · Palette generator →

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