#237222#237222

#237222 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.138 H 142.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#237222
RGBrgb(35, 114, 34)
HSLhsl(119, 54%, 29%)
HSVhsv(119, 70%, 45%)
CMYKcmyk(69.3%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.01, -40.47, 36.08)
CIE-LCHlch(42.01, 54.22, 138.29°)
OKLaboklab(48.67% -0.11 0.0831)
OKLCHoklch(48.67% 0.138 142.9)
XYZxyz(6.9988, 12.5067, 3.5583)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237222 #712272
analogous
#4B7222 #237222 #227249
triadic
#237222 #222372 #722223
tetradic
#237222 #224B72 #712272 #724922
square
#237222 #224B72 #712272 #724922
split-complementary
#237222 #492272 #72224B
monochromatic
#071807 #154314 #237222 #31A130 #48C846

Accessibility & contrast

On white

6.00
#237222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#237222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237222
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237222#FFFFFF#000000##FFFFFF
##2372221.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756717
Deuteranopia (green-blind)
#6B6129
Tritanopia (blue-blind)
#106F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #237222;
/* rgb */ color: rgb(35, 114, 34);
/* oklch */ color: oklch(48.7% 0.138 142.9);
Tailwind
colors: {
  custom: {
    50: '#6a9b61',
    500: '#237222',
    950: '#000000',
  },
}
SCSS
$custom: #237222;
$custom-light: #6a9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#237222",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 119.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.13782,
    "h": 142.9
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#237222
secondary
#A44BA5
accent
#4ADDDC
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #237222

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

Preview Lab → · Contrast checker → · Palette generator →

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