#237D1A#237D1A

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

Color values

HEX#237D1A
RGBrgb(35, 125, 26)
HSLhsl(115, 66%, 30%)
HSVhsv(115, 79%, 49%)
CMYKcmyk(72%, 0%, 79.2%, 51%)
CIE-LABlab(45.77, -45.20, 43.16)
CIE-LCHlch(45.77, 62.49, 136.32°)
OKLaboklab(51.77% -0.1232 0.0968)
OKLCHoklch(51.77% 0.157 141.8)
XYZxyz(8.2127, 15.0983, 3.4585)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D1A #741A7D
analogous
#557D1A #237D1A #1A7D42
triadic
#237D1A #1A237D #7D1A23
tetradic
#237D1A #1A557D #741A7D #7D421A
square
#237D1A #1A557D #741A7D #7D421A
split-complementary
#237D1A #421A7D #7D1A55
monochromatic
#071905 #154A0F #237D1A #31B025 #49D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237D1A#FFFFFF#000000##FFFFFF
##237D1A1.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)
#807103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#0C796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d1a;
/* rgb */ color: rgb(35, 125, 26);
/* oklch */ color: oklch(51.8% 0.157 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da45f',
    500: '#237d1a',
    950: '#000000',
  },
}
SCSS
$custom: #237d1a;
$custom-light: #6da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#237d1a",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 114.545,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.15667,
    "h": 141.8
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#237D1A
secondary
#A742B1
accent
#3FE9D9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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