#228247#228247

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

Color values

HEX#228247
RGBrgb(34, 130, 71)
HSLhsl(143, 59%, 32%)
HSVhsv(143, 74%, 51%)
CMYKcmyk(73.8%, 0%, 45.4%, 49%)
CIE-LABlab(47.96, -41.38, 24.19)
CIE-LCHlch(47.96, 47.93, 149.69°)
OKLaboklab(53.73% -0.1114 0.0596)
OKLCHoklch(53.73% 0.126 151.8)
XYZxyz(9.7788, 16.7592, 8.6795)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228247 #82225D
analogous
#2D8222 #228247 #228277
triadic
#228247 #472282 #824722
tetradic
#228247 #222D82 #82225D #827722
square
#228247 #222D82 #82225D #827722
split-complementary
#228247 #772282 #82222D
monochromatic
#092112 #15512D #228247 #2FB361 #4ED180

Accessibility & contrast

On white

4.83
#228247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228247
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228247#FFFFFF#000000##FFFFFF
##2282471.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228247;
/* rgb */ color: rgb(34, 130, 71);
/* oklch */ color: oklch(53.7% 0.126 151.8);
Tailwind
colors: {
  custom: {
    50: '#6ca77b',
    500: '#228247',
    950: '#000000',
  },
}
SCSS
$custom: #228247;
$custom-light: #6ca77b;
$custom-dark: #000000;
JSON
{
  "hex": "#228247",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 143.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.12638,
    "h": 151.8
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#228247
secondary
#B44C8C
accent
#46A6E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #228247

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

Preview Lab → · Contrast checker → · Palette generator →

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