#237D1C#237D1C

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

Color values

HEX#237D1C
RGBrgb(35, 125, 28)
HSLhsl(116, 63%, 30%)
HSVhsv(116, 78%, 49%)
CMYKcmyk(72%, 0%, 77.6%, 51%)
CIE-LABlab(45.78, -45.04, 42.44)
CIE-LCHlch(45.78, 61.89, 136.70°)
OKLaboklab(51.78% -0.1227 0.0956)
OKLCHoklch(51.78% 0.156 142.1)
XYZxyz(8.2359, 15.1075, 3.5804)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D1C #761C7D
analogous
#547D1C #237D1C #1C7D45
triadic
#237D1C #1C237D #7D1C23
tetradic
#237D1C #1C547D #761C7D #7D451C
square
#237D1C #1C547D #761C7D #7D451C
split-complementary
#237D1C #451C7D #7D1C54
monochromatic
#071906 #154B11 #237D1C #31AF27 #4AD43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237D1C#FFFFFF#000000##FFFFFF
##237D1C1.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)
#807108
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#0B796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d1c;
/* rgb */ color: rgb(35, 125, 28);
/* oklch */ color: oklch(51.8% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#6da460',
    500: '#237d1c',
    950: '#000000',
  },
}
SCSS
$custom: #237d1c;
$custom-light: #6da460;
$custom-dark: #000000;
JSON
{
  "hex": "#237d1c",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 115.67,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.5178,
    "c": 0.15552,
    "h": 142.1
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#237D1C
secondary
#A944B1
accent
#41E6DB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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