#228452#228452

#228452 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.5% C 0.118 H 156.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#228452
RGBrgb(34, 132, 82)
HSLhsl(149, 59%, 33%)
HSVhsv(149, 74%, 52%)
CMYKcmyk(74.2%, 0%, 37.9%, 48.2%)
CIE-LABlab(48.82, -40.01, 19.18)
CIE-LCHlch(48.82, 44.37, 154.38°)
OKLaboklab(54.51% -0.1082 0.0481)
OKLCHoklch(54.51% 0.118 156)
XYZxyz(10.4330, 17.4506, 10.7995)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228452 #842254
analogous
#238422 #228452 #228483
triadic
#228452 #522284 #845222
tetradic
#228452 #222384 #842254 #848322
square
#228452 #222384 #842254 #848322
split-complementary
#228452 #832284 #842223
monochromatic
#092316 #155334 #228452 #2FB570 #4FD28F

Accessibility & contrast

On white

4.68
#228452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#228452 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228452
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228452#FFFFFF#000000##FFFFFF
##2284521.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#777155
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228452;
/* rgb */ color: rgb(34, 132, 82);
/* oklch */ color: oklch(54.5% 0.118 156.0);
Tailwind
colors: {
  custom: {
    50: '#6ca983',
    500: '#228452',
    950: '#000000',
  },
}
SCSS
$custom: #228452;
$custom-light: #6ca983;
$custom-dark: #000000;
JSON
{
  "hex": "#228452",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 149.388,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54509,
    "c": 0.11838,
    "h": 156
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228452

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

Preview Lab → · Contrast checker → · Palette generator →

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