#228543#228543

#228543 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.134 H 150.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#228543
RGBrgb(34, 133, 67)
HSLhsl(140, 59%, 33%)
HSVhsv(140, 74%, 52%)
CMYKcmyk(74.4%, 0%, 49.6%, 47.8%)
CIE-LABlab(48.91, -43.26, 27.59)
CIE-LCHlch(48.91, 51.31, 147.48°)
OKLaboklab(54.5% -0.1164 0.0673)
OKLCHoklch(54.5% 0.134 150)
XYZxyz(10.0595, 17.5192, 8.1605)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228543 #852264
analogous
#338522 #228543 #228574
triadic
#228543 #432285 #854322
tetradic
#228543 #223385 #852264 #857422
square
#228543 #223385 #852264 #857422
split-complementary
#228543 #742285 #852233
monochromatic
#092412 #16542A #228543 #2EB65C #4FD27B

Accessibility & contrast

On white

4.66
#228543 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#228543 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228543
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228543#FFFFFF#000000##FFFFFF
##2285431.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793E
Deuteranopia (green-blind)
#7A7148
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228543;
/* rgb */ color: rgb(34, 133, 67);
/* oklch */ color: oklch(54.5% 0.134 150.0);
Tailwind
colors: {
  custom: {
    50: '#6ca978',
    500: '#228543',
    950: '#000000',
  },
}
SCSS
$custom: #228543;
$custom-light: #6ca978;
$custom-dark: #000000;
JSON
{
  "hex": "#228543",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 67
  },
  "hsl": {
    "h": 140,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54497,
    "c": 0.13443,
    "h": 150
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#228543
secondary
#B64D93
accent
#45AEE2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #228543

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

Preview Lab → · Contrast checker → · Palette generator →

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