#237818#237818

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

Color values

HEX#237818
RGBrgb(35, 120, 24)
HSLhsl(113, 67%, 28%)
HSVhsv(113, 80%, 47%)
CMYKcmyk(70.8%, 0%, 80%, 52.9%)
CIE-LABlab(44.02, -43.56, 42.16)
CIE-LCHlch(44.02, 60.63, 135.94°)
OKLaboklab(50.32% -0.1189 0.0944)
OKLCHoklch(50.32% 0.152 141.5)
XYZxyz(7.5741, 13.8554, 3.1392)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237818 #6D1878
analogous
#537818 #237818 #18783D
triadic
#237818 #182378 #781823
tetradic
#237818 #185378 #6D1878 #783D18
square
#237818 #185378 #6D1878 #783D18
split-complementary
#237818 #3D1878 #781853
monochromatic
#071A05 #14450E #237818 #32AB22 #47D634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237818#FFFFFF#000000##FFFFFF
##2378181.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)
#7B6C02
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#107466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #237818;
/* rgb */ color: rgb(35, 120, 24);
/* oklch */ color: oklch(50.3% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ca05d',
    500: '#237818',
    950: '#000000',
  },
}
SCSS
$custom: #237818;
$custom-light: #6ca05d;
$custom-dark: #000000;
JSON
{
  "hex": "#237818",
  "rgb": {
    "r": 35,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 113.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.15183,
    "h": 141.5
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#237818
secondary
#A03FAD
accent
#3EEAD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F04
muted
#7A7E79

Preview Lab

Preview with #237818

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

Preview Lab → · Contrast checker → · Palette generator →

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