#237218#237218

#237218 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.145 H 141.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#237218
RGBrgb(35, 114, 24)
HSLhsl(113, 65%, 27%)
HSVhsv(113, 79%, 45%)
CMYKcmyk(69.3%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.93, -41.39, 40.12)
CIE-LCHlch(41.93, 57.64, 135.89°)
OKLaboklab(48.58% -0.113 0.0902)
OKLCHoklch(48.58% 0.145 141.4)
XYZxyz(6.8750, 12.4572, 2.9061)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237218 #671872
analogous
#507218 #237218 #18723A
triadic
#237218 #182372 #721823
tetradic
#237218 #185072 #671872 #723A18
square
#237218 #185072 #671872 #723A18
split-complementary
#237218 #3A1872 #721850
monochromatic
#081905 #133F0D #237218 #33A523 #45D431

Accessibility & contrast

On white

6.01
#237218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#237218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237218
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237218#FFFFFF#000000##FFFFFF
##2372181.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#136E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #237218;
/* rgb */ color: rgb(35, 114, 24);
/* oklch */ color: oklch(48.6% 0.145 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9b5c',
    500: '#237218',
    950: '#000000',
  },
}
SCSS
$custom: #237218;
$custom-light: #6a9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#237218",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 112.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.14456,
    "h": 141.4
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#237218
secondary
#9B3EA7
accent
#40E8D4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #237218

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

Preview Lab → · Contrast checker → · Palette generator →

#237218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva