#228352#228352

#228352 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.2% C 0.117 H 156.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#228352
RGBrgb(34, 131, 82)
HSLhsl(150, 59%, 32%)
HSVhsv(150, 74%, 51%)
CMYKcmyk(74%, 0%, 37.4%, 48.6%)
CIE-LABlab(48.49, -39.60, 18.73)
CIE-LCHlch(48.49, 43.80, 154.68°)
OKLaboklab(54.23% -0.1071 0.047)
OKLCHoklch(54.23% 0.117 156.3)
XYZxyz(10.2980, 17.1807, 10.7545)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228352 #832253
analogous
#228322 #228352 #228383
triadic
#228352 #522283 #835222
tetradic
#228352 #222283 #832253 #838322
square
#228352 #222283 #832253 #838322
split-complementary
#228352 #832283 #832222
monochromatic
#092215 #155234 #228352 #2FB470 #4ED18F

Accessibility & contrast

On white

4.73
#228352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#228352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228352
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228352#FFFFFF#000000##FFFFFF
##2283521.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#767055
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228352;
/* rgb */ color: rgb(34, 131, 82);
/* oklch */ color: oklch(54.2% 0.117 156.3);
Tailwind
colors: {
  custom: {
    50: '#6ca883',
    500: '#228352',
    950: '#000000',
  },
}
SCSS
$custom: #228352;
$custom-light: #6ca883;
$custom-dark: #000000;
JSON
{
  "hex": "#228352",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 149.691,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54232,
    "c": 0.11699,
    "h": 156.3
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#228352
secondary
#B44C81
accent
#4695E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #228352

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

Preview Lab → · Contrast checker → · Palette generator →

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