#237817#237817

#237817 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.152 H 141.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#237817
RGBrgb(35, 120, 23)
HSLhsl(113, 68%, 28%)
HSVhsv(113, 81%, 47%)
CMYKcmyk(70.8%, 0%, 80.8%, 52.9%)
CIE-LABlab(44.02, -43.64, 42.51)
CIE-LCHlch(44.02, 60.92, 135.75°)
OKLaboklab(50.31% -0.1191 0.095)
OKLCHoklch(50.31% 0.152 141.4)
XYZxyz(7.5639, 13.8513, 3.0854)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237817 #6C1778
analogous
#537817 #237817 #17783B
triadic
#237817 #172378 #781723
tetradic
#237817 #175378 #6C1778 #783B17
square
#237817 #175378 #6C1778 #783B17
split-complementary
#237817 #3B1778 #781753
monochromatic
#071A05 #14450D #237817 #32AB21 #46D832

Accessibility & contrast

On white

5.57
#237817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#237817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237817
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237817#FFFFFF#000000##FFFFFF
##2378171.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#107466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #237817;
/* rgb */ color: rgb(35, 120, 23);
/* oklch */ color: oklch(50.3% 0.152 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ca05c',
    500: '#237817',
    950: '#000000',
  },
}
SCSS
$custom: #237817;
$custom-light: #6ca05c;
$custom-dark: #000000;
JSON
{
  "hex": "#237817",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 112.577,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.15237,
    "h": 141.4
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#237817
secondary
#9F3EAD
accent
#3DEBD5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F04
muted
#7A7E79

Preview Lab

Preview with #237817

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

Preview Lab → · Contrast checker → · Palette generator →

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