#228732#228732

#228732 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.152 H 145.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#228732
RGBrgb(34, 135, 50)
HSLhsl(130, 60%, 33%)
HSVhsv(130, 75%, 53%)
CMYKcmyk(74.8%, 0%, 63%, 47.1%)
CIE-LABlab(49.37, -46.53, 36.81)
CIE-LCHlch(49.37, 59.33, 141.65°)
OKLaboklab(54.81% -0.1256 0.0864)
OKLCHoklch(54.81% 0.152 145.5)
XYZxyz(9.8987, 17.8972, 5.9498)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228732 #872277
analogous
#448722 #228732 #228764
triadic
#228732 #322287 #873222
tetradic
#228732 #224487 #872277 #876422
square
#228732 #224487 #872277 #876422
split-complementary
#228732 #642287 #872244
monochromatic
#09250E #165620 #228732 #2EB844 #50D365

Accessibility & contrast

On white

4.59
#228732 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#228732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228732
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228732#FFFFFF#000000##FFFFFF
##2287321.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#7E7239
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228732;
/* rgb */ color: rgb(34, 135, 50);
/* oklch */ color: oklch(54.8% 0.152 145.5);
Tailwind
colors: {
  custom: {
    50: '#6eab6d',
    500: '#228732',
    950: '#000000',
  },
}
SCSS
$custom: #228732;
$custom-light: #6eab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#228732",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 50
  },
  "hsl": {
    "h": 129.505,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.15243,
    "h": 145.5
  },
  "luminance": 0.17898
}

Semantic roles & 50–950 ramp

primary
#228732
secondary
#B74EA6
accent
#45CAE3
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #228732

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

Preview Lab → · Contrast checker → · Palette generator →

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