#237D1F#237D1F

#237D1F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.154 H 142.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#237D1F
RGBrgb(35, 125, 31)
HSLhsl(117, 60%, 31%)
HSVhsv(117, 75%, 49%)
CMYKcmyk(72%, 0%, 75.2%, 51%)
CIE-LABlab(45.80, -44.79, 41.32)
CIE-LCHlch(45.80, 60.94, 137.31°)
OKLaboklab(51.8% -0.1218 0.0937)
OKLCHoklch(51.8% 0.154 142.4)
XYZxyz(8.2736, 15.1226, 3.7790)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D1F #791F7D
analogous
#527D1F #237D1F #1F7D4A
triadic
#237D1F #1F237D #7D1F23
tetradic
#237D1F #1F527D #791F7D #7D4A1F
square
#237D1F #1F527D #791F7D #7D4A1F
split-complementary
#237D1F #4A1F7D #7D1F52
monochromatic
#081B07 #154C13 #237D1F #31AE2B #4BD145

Accessibility & contrast

On white

5.22
#237D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#237D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D1F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D1F#FFFFFF#000000##FFFFFF
##237D1F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#0A796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d1f;
/* rgb */ color: rgb(35, 125, 31);
/* oklch */ color: oklch(51.8% 0.154 142.4);
Tailwind
colors: {
  custom: {
    50: '#6ca461',
    500: '#237d1f',
    950: '#000000',
  },
}
SCSS
$custom: #237d1f;
$custom-light: #6ca461;
$custom-dark: #000000;
JSON
{
  "hex": "#237d1f",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 117.447,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.15368,
    "h": 142.4
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#237D1F
secondary
#AC48B0
accent
#44E3DD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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