#237212#237212

#237212 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.148 H 140.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#237212
RGBrgb(35, 114, 18)
HSLhsl(109, 73%, 26%)
HSVhsv(109, 84%, 45%)
CMYKcmyk(69.3%, 0%, 84.2%, 55.3%)
CIE-LABlab(41.90, -41.80, 42.14)
CIE-LCHlch(41.90, 59.35, 134.77°)
OKLaboklab(48.54% -0.1144 0.0935)
OKLCHoklch(48.54% 0.148 140.8)
XYZxyz(6.8193, 12.4349, 2.6130)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237212 #611272
analogous
#537212 #237212 #127231
triadic
#237212 #122372 #721223
tetradic
#237212 #125372 #611272 #723112
square
#237212 #125372 #611272 #723112
split-complementary
#237212 #311272 #721253
monochromatic
#081A04 #133D0A #237212 #33A71A #43DC23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237212#FFFFFF#000000##FFFFFF
##2372121.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)
#756700
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#146E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #237212;
/* rgb */ color: rgb(35, 114, 18);
/* oklch */ color: oklch(48.5% 0.148 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b9b59',
    500: '#237212',
    950: '#000000',
  },
}
SCSS
$custom: #237212;
$custom-light: #6b9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#237212",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 109.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.14777,
    "h": 140.8
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#237212
secondary
#9537A9
accent
#38EFCF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #237212

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

Preview Lab → · Contrast checker → · Palette generator →

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