#237D3E#237D3E

#237D3E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.128 H 149.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#237D3E
RGBrgb(35, 125, 62)
HSLhsl(138, 56%, 31%)
HSVhsv(138, 72%, 49%)
CMYKcmyk(72%, 0%, 50.4%, 51%)
CIE-LABlab(46.14, -40.83, 26.81)
CIE-LCHlch(46.14, 48.84, 146.71°)
OKLaboklab(52.19% -0.1099 0.0653)
OKLCHoklch(52.19% 0.128 149.3)
XYZxyz(8.8956, 15.3714, 7.0547)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D3E #7D2362
analogous
#357D23 #237D3E #237D6B
triadic
#237D3E #3E237D #7D3E23
tetradic
#237D3E #23357D #7D2362 #7D6B23
square
#237D3E #23357D #7D2362 #7D6B23
split-complementary
#237D3E #6B237D #7D2335
monochromatic
#081D0F #164D26 #237D3E #30AD56 #4DCD74

Accessibility & contrast

On white

5.15
#237D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#237D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D3E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D3E#FFFFFF#000000##FFFFFF
##237D3E1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d3e;
/* rgb */ color: rgb(35, 125, 62);
/* oklch */ color: oklch(52.2% 0.128 149.3);
Tailwind
colors: {
  custom: {
    50: '#6ba374',
    500: '#237d3e',
    950: '#000000',
  },
}
SCSS
$custom: #237d3e;
$custom-light: #6ba374;
$custom-dark: #000000;
JSON
{
  "hex": "#237d3e",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 138,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.12785,
    "h": 149.3
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#237D3E
secondary
#AF4C92
accent
#48B2E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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