#228928#228928

#228928 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.163 H 143.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#228928
RGBrgb(34, 137, 40)
HSLhsl(123, 60%, 34%)
HSVhsv(123, 75%, 54%)
CMYKcmyk(75.2%, 0%, 70.8%, 46.3%)
CIE-LABlab(49.96, -48.36, 41.96)
CIE-LCHlch(49.96, 64.02, 139.05°)
OKLaboklab(55.27% -0.131 0.0962)
OKLCHoklch(55.27% 0.163 143.7)
XYZxyz(9.9877, 18.3835, 5.0291)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228928 #892283
analogous
#4F8922 #228928 #22895B
triadic
#228928 #282289 #892822
tetradic
#228928 #224F89 #892283 #895B22
square
#228928 #224F89 #892283 #895B22
split-complementary
#228928 #5B2289 #89224F
monochromatic
#0A270B #16581A #228928 #2EBA36 #51D459

Accessibility & contrast

On white

4.49
#228928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#228928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228928
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228928#FFFFFF#000000##000000
##2289281.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#807431
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228928;
/* rgb */ color: rgb(34, 137, 40);
/* oklch */ color: oklch(55.3% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#6fac67',
    500: '#228928',
    950: '#000000',
  },
}
SCSS
$custom: #228928;
$custom-light: #6fac67;
$custom-dark: #000000;
JSON
{
  "hex": "#228928",
  "rgb": {
    "r": 34,
    "g": 137,
    "b": 40
  },
  "hsl": {
    "h": 123.495,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55267,
    "c": 0.16252,
    "h": 143.7
  },
  "luminance": 0.18385
}

Semantic roles & 50–950 ramp

primary
#228928
secondary
#B84FB1
accent
#44DAE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228928

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

Preview Lab → · Contrast checker → · Palette generator →

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