#237D2A#237D2A

#237D2A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.146 H 144.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#237D2A
RGBrgb(35, 125, 42)
HSLhsl(125, 56%, 31%)
HSVhsv(125, 72%, 49%)
CMYKcmyk(72%, 0%, 66.4%, 51%)
CIE-LABlab(45.89, -43.68, 36.67)
CIE-LCHlch(45.89, 57.03, 139.99°)
OKLaboklab(51.91% -0.1182 0.0853)
OKLCHoklch(51.91% 0.146 144.2)
XYZxyz(8.4441, 15.1908, 4.6771)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D2A #7D2376
analogous
#497D23 #237D2A #237D57
triadic
#237D2A #2A237D #7D2A23
tetradic
#237D2A #23497D #7D2376 #7D5723
square
#237D2A #23497D #7D2376 #7D5723
split-complementary
#237D2A #57237D #7D2349
monochromatic
#081D0A #164D1A #237D2A #30AD3A #4DCD57

Accessibility & contrast

On white

5.20
#237D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#237D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D2A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D2A#FFFFFF#000000##FFFFFF
##237D2A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#047A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d2a;
/* rgb */ color: rgb(35, 125, 42);
/* oklch */ color: oklch(51.9% 0.146 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ca467',
    500: '#237d2a',
    950: '#000000',
  },
}
SCSS
$custom: #237d2a;
$custom-light: #6ca467;
$custom-dark: #000000;
JSON
{
  "hex": "#237d2a",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 124.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.14579,
    "h": 144.2
  },
  "luminance": 0.15192
}

Semantic roles & 50–950 ramp

primary
#237D2A
secondary
#AF4CA8
accent
#48D4E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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