#228530#228530

#228530 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.152 H 145.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#228530
RGBrgb(34, 133, 48)
HSLhsl(128, 59%, 33%)
HSVhsv(128, 74%, 52%)
CMYKcmyk(74.4%, 0%, 63.9%, 47.8%)
CIE-LABlab(48.67, -46.06, 36.97)
CIE-LCHlch(48.67, 59.06, 141.25°)
OKLaboklab(54.22% -0.1244 0.0865)
OKLCHoklch(54.22% 0.152 145.2)
XYZxyz(9.5801, 17.3275, 5.6354)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228530 #852277
analogous
#458522 #228530 #228561
triadic
#228530 #302285 #853022
tetradic
#228530 #224585 #852277 #856122
square
#228530 #224585 #852277 #856122
split-complementary
#228530 #612285 #852245
monochromatic
#09240D #16541E #228530 #2EB642 #4FD262

Accessibility & contrast

On white

4.70
#228530 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#228530 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228530
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228530#FFFFFF#000000##FFFFFF
##2285301.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#7C7137
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #228530;
/* rgb */ color: rgb(34, 133, 48);
/* oklch */ color: oklch(54.2% 0.152 145.2);
Tailwind
colors: {
  custom: {
    50: '#6da96c',
    500: '#228530',
    950: '#000000',
  },
}
SCSS
$custom: #228530;
$custom-light: #6da96c;
$custom-dark: #000000;
JSON
{
  "hex": "#228530",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 128.485,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54223,
    "c": 0.15152,
    "h": 145.2
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#228530
secondary
#B64DA7
accent
#45CCE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228530

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

Preview Lab → · Contrast checker → · Palette generator →

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