#237228#237228

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

Color values

HEX#237228
RGBrgb(35, 114, 40)
HSLhsl(124, 53%, 29%)
HSVhsv(124, 69%, 45%)
CMYKcmyk(69.3%, 0%, 64.9%, 55.3%)
CIE-LABlab(42.07, -39.79, 33.33)
CIE-LCHlch(42.07, 51.90, 140.05°)
OKLaboklab(48.74% -0.1078 0.078)
OKLCHoklch(48.74% 0.133 144.1)
XYZxyz(7.0930, 12.5444, 4.0546)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237228 #72236D
analogous
#467223 #237228 #237250
triadic
#237228 #282372 #722823
tetradic
#237228 #234672 #72236D #725023
square
#237228 #234672 #72236D #725023
split-complementary
#237228 #502372 #722346
monochromatic
#071708 #154318 #237228 #31A138 #48C750

Accessibility & contrast

On white

5.98
#237228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #237228
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237228#FFFFFF#000000##FFFFFF
##2372281.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6B612E
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #237228;
/* rgb */ color: rgb(35, 114, 40);
/* oklch */ color: oklch(48.7% 0.133 144.1);
Tailwind
colors: {
  custom: {
    50: '#699b65',
    500: '#237228',
    950: '#000000',
  },
}
SCSS
$custom: #237228;
$custom-light: #699b65;
$custom-dark: #000000;
JSON
{
  "hex": "#237228",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 123.797,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.13302,
    "h": 144.1
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#237228
secondary
#A54C9F
accent
#4BD3DC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #237228

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

Preview Lab → · Contrast checker → · Palette generator →

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