#237D1D#237D1D

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

Color values

HEX#237D1D
RGBrgb(35, 125, 29)
HSLhsl(116, 62%, 30%)
HSVhsv(116, 77%, 49%)
CMYKcmyk(72%, 0%, 76.8%, 51%)
CIE-LABlab(45.79, -44.96, 42.08)
CIE-LCHlch(45.79, 61.58, 136.90°)
OKLaboklab(51.79% -0.1224 0.095)
OKLCHoklch(51.79% 0.155 142.2)
XYZxyz(8.2481, 15.1124, 3.6445)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D1D #771D7D
analogous
#537D1D #237D1D #1D7D47
triadic
#237D1D #1D237D #7D1D23
tetradic
#237D1D #1D537D #771D7D #7D471D
square
#237D1D #1D537D #771D7D #7D471D
split-complementary
#237D1D #471D7D #7D1D53
monochromatic
#071A06 #154B11 #237D1D #31AF29 #4AD341

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237D1D#FFFFFF#000000##FFFFFF
##237D1D1.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)
#80710A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#0A796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d1d;
/* rgb */ color: rgb(35, 125, 29);
/* oklch */ color: oklch(51.8% 0.155 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da460',
    500: '#237d1d',
    950: '#000000',
  },
}
SCSS
$custom: #237d1d;
$custom-light: #6da460;
$custom-dark: #000000;
JSON
{
  "hex": "#237d1d",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 116.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.15493,
    "h": 142.2
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#237D1D
secondary
#AA45B1
accent
#42E5DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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