#237D2B#237D2B

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

Color values

HEX#237D2B
RGBrgb(35, 125, 43)
HSLhsl(125, 56%, 31%)
HSVhsv(125, 72%, 49%)
CMYKcmyk(72%, 0%, 65.6%, 51%)
CIE-LABlab(45.90, -43.56, 36.21)
CIE-LCHlch(45.90, 56.65, 140.26°)
OKLaboklab(51.92% -0.1179 0.0844)
OKLCHoklch(51.92% 0.145 144.4)
XYZxyz(8.4623, 15.1981, 4.7726)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D2B #7D2375
analogous
#487D23 #237D2B #237D58
triadic
#237D2B #2B237D #7D2B23
tetradic
#237D2B #23487D #7D2375 #7D5823
square
#237D2B #23487D #7D2375 #7D5823
split-complementary
#237D2B #58237D #7D2348
monochromatic
#081D0A #164D1B #237D2B #30AD3B #4DCD59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237D2B#FFFFFF#000000##FFFFFF
##237D2B1.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)
#7F7121
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#037A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d2b;
/* rgb */ color: rgb(35, 125, 43);
/* oklch */ color: oklch(51.9% 0.145 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ca468',
    500: '#237d2b',
    950: '#000000',
  },
}
SCSS
$custom: #237d2b;
$custom-light: #6ca468;
$custom-dark: #000000;
JSON
{
  "hex": "#237d2b",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 125.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.14499,
    "h": 144.4
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#237D2B
secondary
#AF4CA7
accent
#48D2E0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #237D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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