#228248#228248

#228248 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.125 H 152.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#228248
RGBrgb(34, 130, 72)
HSLhsl(144, 59%, 32%)
HSVhsv(144, 74%, 51%)
CMYKcmyk(73.8%, 0%, 44.6%, 49%)
CIE-LABlab(47.97, -41.19, 23.66)
CIE-LCHlch(47.97, 47.50, 150.13°)
OKLaboklab(53.75% -0.1109 0.0584)
OKLCHoklch(53.75% 0.125 152.2)
XYZxyz(9.8112, 16.7721, 8.8499)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228248 #82225C
analogous
#2C8222 #228248 #228278
triadic
#228248 #482282 #824822
tetradic
#228248 #222C82 #82225C #827822
square
#228248 #222C82 #82225C #827822
split-complementary
#228248 #782282 #82222C
monochromatic
#092112 #15512D #228248 #2FB363 #4ED182

Accessibility & contrast

On white

4.82
#228248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#228248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228248
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228248#FFFFFF#000000##FFFFFF
##2282481.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827744
Deuteranopia (green-blind)
#776F4C
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228248;
/* rgb */ color: rgb(34, 130, 72);
/* oklch */ color: oklch(53.7% 0.125 152.2);
Tailwind
colors: {
  custom: {
    50: '#6ca77c',
    500: '#228248',
    950: '#000000',
  },
}
SCSS
$custom: #228248;
$custom-light: #6ca77c;
$custom-dark: #000000;
JSON
{
  "hex": "#228248",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 143.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.1254,
    "h": 152.2
  },
  "luminance": 0.16773
}

Semantic roles & 50–950 ramp

primary
#228248
secondary
#B44C8B
accent
#46A4E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228248

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

Preview Lab → · Contrast checker → · Palette generator →

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