#228428#228428

#228428 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.156 H 143.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#228428
RGBrgb(34, 132, 40)
HSLhsl(124, 59%, 33%)
HSVhsv(124, 74%, 52%)
CMYKcmyk(74.2%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.25, -46.61, 40.14)
CIE-LCHlch(48.25, 61.51, 139.26°)
OKLaboklab(53.85% -0.1262 0.0924)
OKLCHoklch(53.85% 0.156 143.8)
XYZxyz(9.2934, 16.9948, 4.7976)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228428 #84227E
analogous
#4D8422 #228428 #228459
triadic
#228428 #282284 #842822
tetradic
#228428 #224D84 #84227E #845922
square
#228428 #224D84 #84227E #845922
split-complementary
#228428 #592284 #84224D
monochromatic
#09230B #155319 #228428 #2FB537 #4FD257

Accessibility & contrast

On white

4.77
#228428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#228428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228428
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228428#FFFFFF#000000##FFFFFF
##2284281.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771B
Deuteranopia (green-blind)
#7B7031
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228428;
/* rgb */ color: rgb(34, 132, 40);
/* oklch */ color: oklch(53.9% 0.156 143.8);
Tailwind
colors: {
  custom: {
    50: '#6da967',
    500: '#228428',
    950: '#000000',
  },
}
SCSS
$custom: #228428;
$custom-light: #6da967;
$custom-dark: #000000;
JSON
{
  "hex": "#228428",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 123.673,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.53853,
    "c": 0.15643,
    "h": 143.8
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#228428
secondary
#B54DAF
accent
#46D9E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228428

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

Preview Lab → · Contrast checker → · Palette generator →

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