#228523#228523

#228523 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.161 H 143.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#228523
RGBrgb(34, 133, 35)
HSLhsl(121, 59%, 33%)
HSVhsv(121, 74%, 52%)
CMYKcmyk(74.4%, 0%, 73.7%, 47.8%)
CIE-LABlab(48.56, -47.44, 42.55)
CIE-LCHlch(48.56, 63.73, 138.11°)
OKLaboklab(54.09% -0.1287 0.0968)
OKLCHoklch(54.09% 0.161 143.1)
XYZxyz(9.3500, 17.2354, 4.4238)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228523 #852284
analogous
#528522 #228523 #228554
triadic
#228523 #232285 #852322
tetradic
#228523 #225285 #852284 #855422
square
#228523 #225285 #852284 #855422
split-complementary
#228523 #542285 #852252
monochromatic
#092409 #165416 #228523 #2EB630 #4FD251

Accessibility & contrast

On white

4.72
#228523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#228523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228523
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228523#FFFFFF#000000##FFFFFF
##2285231.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7D702D
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #228523;
/* rgb */ color: rgb(34, 133, 35);
/* oklch */ color: oklch(54.1% 0.161 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ea964',
    500: '#228523',
    950: '#000000',
  },
}
SCSS
$custom: #228523;
$custom-light: #6ea964;
$custom-dark: #000000;
JSON
{
  "hex": "#228523",
  "rgb": {
    "r": 34,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 120.606,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.16107,
    "h": 143.1
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#228523
secondary
#B64DB4
accent
#45E1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #228523

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

Preview Lab → · Contrast checker → · Palette generator →

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