#228028#228028

#228028 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.151 H 143.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#228028
RGBrgb(34, 128, 40)
HSLhsl(124, 58%, 32%)
HSVhsv(124, 73%, 50%)
CMYKcmyk(73.4%, 0%, 68.8%, 49.8%)
CIE-LABlab(46.88, -45.19, 38.66)
CIE-LCHlch(46.88, 59.47, 139.45°)
OKLaboklab(52.72% -0.1224 0.0893)
OKLCHoklch(52.72% 0.151 143.9)
XYZxyz(8.7613, 15.9307, 4.6203)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228028 #80227A
analogous
#4B8022 #228028 #228057
triadic
#228028 #282280 #802822
tetradic
#228028 #224B80 #80227A #805722
square
#228028 #224B80 #80227A #805722
split-complementary
#228028 #572280 #80224B
monochromatic
#081F0A #155019 #228028 #2FB037 #4DD055

Accessibility & contrast

On white

5.02
#228028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#228028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228028
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228028#FFFFFF#000000##FFFFFF
##2280281.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786C30
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228028;
/* rgb */ color: rgb(34, 128, 40);
/* oklch */ color: oklch(52.7% 0.151 143.9);
Tailwind
colors: {
  custom: {
    50: '#6ca666',
    500: '#228028',
    950: '#000000',
  },
}
SCSS
$custom: #228028;
$custom-light: #6ca666;
$custom-dark: #000000;
JSON
{
  "hex": "#228028",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 123.83,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.15147,
    "h": 143.9
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#228028
secondary
#B24BAC
accent
#47D7E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #228028

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

Preview Lab → · Contrast checker → · Palette generator →

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