#228243#228243

#228243 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.130 H 150.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#228243
RGBrgb(34, 130, 67)
HSLhsl(141, 59%, 32%)
HSVhsv(141, 74%, 51%)
CMYKcmyk(73.8%, 0%, 48.5%, 49%)
CIE-LABlab(47.89, -42.10, 26.30)
CIE-LCHlch(47.89, 49.64, 148.01°)
OKLaboklab(53.66% -0.1133 0.0643)
OKLCHoklch(53.66% 0.13 150.4)
XYZxyz(9.6546, 16.7095, 8.0255)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228243 #822261
analogous
#318222 #228243 #228273
triadic
#228243 #432282 #824322
tetradic
#228243 #223182 #822261 #827322
square
#228243 #223182 #822261 #827322
split-complementary
#228243 #732282 #822231
monochromatic
#092111 #15512A #228243 #2FB35C #4ED17B

Accessibility & contrast

On white

4.84
#228243 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#228243 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228243
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228243#FFFFFF#000000##FFFFFF
##2282431.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773E
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228243;
/* rgb */ color: rgb(34, 130, 67);
/* oklch */ color: oklch(53.7% 0.130 150.4);
Tailwind
colors: {
  custom: {
    50: '#6ca778',
    500: '#228243',
    950: '#000000',
  },
}
SCSS
$custom: #228243;
$custom-light: #6ca778;
$custom-dark: #000000;
JSON
{
  "hex": "#228243",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 140.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.1303,
    "h": 150.4
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#228243
secondary
#B44C90
accent
#46ACE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #228243

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

Preview Lab → · Contrast checker → · Palette generator →

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