#237217#237217

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

Color values

HEX#237217
RGBrgb(35, 114, 23)
HSLhsl(112, 66%, 27%)
HSVhsv(112, 80%, 45%)
CMYKcmyk(69.3%, 0%, 79.8%, 55.3%)
CIE-LABlab(41.93, -41.46, 40.48)
CIE-LCHlch(41.93, 57.94, 135.69°)
OKLaboklab(48.57% -0.1132 0.0908)
OKLCHoklch(48.57% 0.145 141.3)
XYZxyz(6.8647, 12.4531, 2.8524)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237217 #661772
analogous
#517217 #237217 #177239
triadic
#237217 #172372 #721723
tetradic
#237217 #175172 #661772 #723917
square
#237217 #175172 #661772 #723917
split-complementary
#237217 #391772 #721751
monochromatic
#081905 #133F0D #237217 #33A521 #44D52E

Accessibility & contrast

On white

6.02
#237217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #237217
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237217#FFFFFF#000000##FFFFFF
##2372171.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #237217;
/* rgb */ color: rgb(35, 114, 23);
/* oklch */ color: oklch(48.6% 0.145 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9b5c',
    500: '#237217',
    950: '#000000',
  },
}
SCSS
$custom: #237217;
$custom-light: #6a9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#237217",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 112.088,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.14514,
    "h": 141.3
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#237217
secondary
#9A3DA8
accent
#3EE9D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #237217

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

Preview Lab → · Contrast checker → · Palette generator →

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