#237D18#237D18

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

Color values

HEX#237D18
RGBrgb(35, 125, 24)
HSLhsl(113, 68%, 29%)
HSVhsv(113, 81%, 49%)
CMYKcmyk(72%, 0%, 80.8%, 51%)
CIE-LABlab(45.76, -45.34, 43.84)
CIE-LCHlch(45.76, 63.07, 135.96°)
OKLaboklab(51.75% -0.1237 0.0979)
OKLCHoklch(51.75% 0.158 141.6)
XYZxyz(8.1912, 15.0896, 3.3449)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D18 #72187D
analogous
#567D18 #237D18 #187D40
triadic
#237D18 #18237D #7D1823
tetradic
#237D18 #18567D #72187D #7D4018
square
#237D18 #18567D #72187D #7D4018
split-complementary
#237D18 #40187D #7D1856
monochromatic
#071A05 #154A0E #237D18 #31B022 #48D937

Accessibility & contrast

On white

5.23
#237D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #237D18
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D18#FFFFFF#000000##FFFFFF
##237D181.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#0C796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237d18;
/* rgb */ color: rgb(35, 125, 24);
/* oklch */ color: oklch(51.8% 0.158 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da45e',
    500: '#237d18',
    950: '#000000',
  },
}
SCSS
$custom: #237d18;
$custom-light: #6da45e;
$custom-dark: #000000;
JSON
{
  "hex": "#237d18",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 113.465,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.15775,
    "h": 141.6
  },
  "luminance": 0.15091
}

Semantic roles & 50–950 ramp

primary
#237D18
secondary
#A53FB2
accent
#3DEBD8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #237D18

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

Preview Lab → · Contrast checker → · Palette generator →

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