#228351#228351

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

Color values

HEX#228351
RGBrgb(34, 131, 81)
HSLhsl(149, 59%, 32%)
HSVhsv(149, 74%, 51%)
CMYKcmyk(74%, 0%, 38.2%, 48.6%)
CIE-LABlab(48.47, -39.81, 19.28)
CIE-LCHlch(48.47, 44.23, 154.16°)
OKLaboklab(54.21% -0.1076 0.0483)
OKLCHoklch(54.21% 0.118 155.8)
XYZxyz(10.2602, 17.1656, 10.5555)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228351 #832254
analogous
#248322 #228351 #228382
triadic
#228351 #512283 #835122
tetradic
#228351 #222483 #832254 #838222
square
#228351 #222483 #832254 #838222
split-complementary
#228351 #822283 #832224
monochromatic
#092215 #155233 #228351 #2FB46F #4ED18E

Accessibility & contrast

On white

4.74
#228351 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#228351 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228351
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228351#FFFFFF#000000##FFFFFF
##2283511.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228351;
/* rgb */ color: rgb(34, 131, 81);
/* oklch */ color: oklch(54.2% 0.118 155.8);
Tailwind
colors: {
  custom: {
    50: '#6ca882',
    500: '#228351',
    950: '#000000',
  },
}
SCSS
$custom: #228351;
$custom-light: #6ca882;
$custom-dark: #000000;
JSON
{
  "hex": "#228351",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 81
  },
  "hsl": {
    "h": 149.072,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.11795,
    "h": 155.8
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#228351
secondary
#B44C82
accent
#4696E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #228351

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

Preview Lab → · Contrast checker → · Palette generator →

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