#237D2F#237D2F

#237D2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.142 H 145.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#237D2F
RGBrgb(35, 125, 47)
HSLhsl(128, 56%, 31%)
HSVhsv(128, 72%, 49%)
CMYKcmyk(72%, 0%, 62.4%, 51%)
CIE-LABlab(45.95, -43.07, 34.34)
CIE-LCHlch(45.95, 55.09, 141.43°)
OKLaboklab(51.97% -0.1164 0.0808)
OKLCHoklch(51.97% 0.142 145.2)
XYZxyz(8.5393, 15.2289, 5.1782)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D2F #7D2371
analogous
#447D23 #237D2F #237D5C
triadic
#237D2F #2F237D #7D2F23
tetradic
#237D2F #23447D #7D2371 #7D5C23
square
#237D2F #23447D #7D2371 #7D5C23
split-complementary
#237D2F #5C237D #7D2344
monochromatic
#081D0B #164D1D #237D2F #30AD41 #4DCD5E

Accessibility & contrast

On white

5.19
#237D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#237D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D2F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D2F#FFFFFF#000000##FFFFFF
##237D2F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#017A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d2f;
/* rgb */ color: rgb(35, 125, 47);
/* oklch */ color: oklch(52.0% 0.142 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ca46a',
    500: '#237d2f',
    950: '#000000',
  },
}
SCSS
$custom: #237d2f;
$custom-light: #6ca46a;
$custom-dark: #000000;
JSON
{
  "hex": "#237d2f",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 128,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.14167,
    "h": 145.2
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#237D2F
secondary
#AF4CA2
accent
#48CBE0
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #237D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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