#228B23#228B23

#228B23 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.168 H 143.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228B23
RGBrgb(34, 139, 35)
HSLhsl(121, 61%, 34%)
HSVhsv(121, 76%, 55%)
CMYKcmyk(75.5%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.60, -49.50, 44.64)
CIE-LCHlch(50.60, 66.66, 137.95°)
OKLaboklab(55.79% -0.1343 0.1012)
OKLCHoklch(55.79% 0.168 143)
XYZxyz(10.1950, 18.9255, 4.7055)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B23 #8B228A
analogous
#568B22 #228B23 #228B58
triadic
#228B23 #23228B #8B2322
tetradic
#228B23 #22568B #8B228A #8B5822
square
#228B23 #22568B #8B228A #8B5822
split-complementary
#228B23 #58228B #8B2256
monochromatic
#0A290A #165A17 #228B23 #2EBC2F #53D554

Accessibility & contrast

On white

4.39
#228B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#228B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B23
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B23#FFFFFF#000000##000000
##228B231.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#82752E
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b23;
/* rgb */ color: rgb(34, 139, 35);
/* oklch */ color: oklch(55.8% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fae65',
    500: '#228b23',
    950: '#000000',
  },
}
SCSS
$custom: #228b23;
$custom-light: #6fae65;
$custom-dark: #000000;
JSON
{
  "hex": "#228b23",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 120.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.16817,
    "h": 143
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#228B23
secondary
#B850B7
accent
#44E2E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #228B23

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

Preview Lab → · Contrast checker → · Palette generator →

#228B23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva