#237227#237227

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

Color values

HEX#237227
RGBrgb(35, 114, 39)
HSLhsl(123, 53%, 29%)
HSVhsv(123, 69%, 45%)
CMYKcmyk(69.3%, 0%, 65.8%, 55.3%)
CIE-LABlab(42.06, -39.91, 33.80)
CIE-LCHlch(42.06, 52.30, 139.74°)
OKLaboklab(48.72% -0.1082 0.0789)
OKLCHoklch(48.72% 0.134 143.9)
XYZxyz(7.0762, 12.5377, 3.9662)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237227 #72236E
analogous
#477223 #237227 #23724F
triadic
#237227 #272372 #722723
tetradic
#237227 #234772 #72236E #724F23
square
#237227 #234772 #72236E #724F23
split-complementary
#237227 #4F2372 #722347
monochromatic
#071708 #154317 #237227 #31A137 #48C74F

Accessibility & contrast

On white

5.99
#237227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#237227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237227
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237227#FFFFFF#000000##FFFFFF
##2372271.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671E
Deuteranopia (green-blind)
#6B612D
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #237227;
/* rgb */ color: rgb(35, 114, 39);
/* oklch */ color: oklch(48.7% 0.134 143.9);
Tailwind
colors: {
  custom: {
    50: '#699b64',
    500: '#237227',
    950: '#000000',
  },
}
SCSS
$custom: #237227;
$custom-light: #699b64;
$custom-dark: #000000;
JSON
{
  "hex": "#237227",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 123.038,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.13386,
    "h": 143.9
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#237227
secondary
#A54CA1
accent
#4BD5DC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #237227

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

Preview Lab → · Contrast checker → · Palette generator →

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