#238221#238221

#238221 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.158 H 142.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238221
RGBrgb(35, 130, 33)
HSLhsl(119, 60%, 32%)
HSVhsv(119, 75%, 51%)
CMYKcmyk(73.1%, 0%, 74.6%, 49%)
CIE-LABlab(47.54, -46.39, 42.30)
CIE-LCHlch(47.54, 62.78, 137.64°)
OKLaboklab(53.25% -0.126 0.096)
OKLCHoklch(53.25% 0.158 142.7)
XYZxyz(8.9497, 16.4314, 4.1385)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238221 #802182
analogous
#548221 #238221 #218250
triadic
#238221 #212382 #822123
tetradic
#238221 #215482 #802182 #825021
square
#238221 #215482 #802182 #825021
split-complementary
#238221 #502182 #822154
monochromatic
#092008 #165115 #238221 #30B32D #4FD24C

Accessibility & contrast

On white

4.90
#238221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#238221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238221
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238221#FFFFFF#000000##FFFFFF
##2382211.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857510
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#047E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238221;
/* rgb */ color: rgb(35, 130, 33);
/* oklch */ color: oklch(53.2% 0.158 142.7);
Tailwind
colors: {
  custom: {
    50: '#6ea763',
    500: '#238221',
    950: '#000000',
  },
}
SCSS
$custom: #238221;
$custom-light: #6ea763;
$custom-dark: #000000;
JSON
{
  "hex": "#238221",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 118.763,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.15844,
    "h": 142.7
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#238221
secondary
#B24AB4
accent
#45E3DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #238221

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

Preview Lab → · Contrast checker → · Palette generator →

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