#228417#228417

#228417 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.167 H 141.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#228417
RGBrgb(34, 132, 23)
HSLhsl(114, 70%, 30%)
HSVhsv(114, 83%, 52%)
CMYKcmyk(74.2%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.14, -48.01, 46.42)
CIE-LCHlch(48.14, 66.78, 135.97°)
OKLaboklab(53.72% -0.1309 0.1032)
OKLCHoklch(53.72% 0.167 141.7)
XYZxyz(9.0651, 16.9035, 3.5954)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228417 #791784
analogous
#588417 #228417 #178442
triadic
#228417 #172284 #841722
tetradic
#228417 #175884 #791784 #844217
square
#228417 #175884 #791784 #844217
split-complementary
#228417 #421784 #841758
monochromatic
#071C05 #15500E #228417 #2FB820 #49DC39

Accessibility & contrast

On white

4.79
#228417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#228417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228417
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228417#FFFFFF#000000##FFFFFF
##2284171.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#038070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228417;
/* rgb */ color: rgb(34, 132, 23);
/* oklch */ color: oklch(53.7% 0.167 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ea95e',
    500: '#228417',
    950: '#000000',
  },
}
SCSS
$custom: #228417;
$custom-light: #6ea95e;
$custom-dark: #000000;
JSON
{
  "hex": "#228417",
  "rgb": {
    "r": 34,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 113.945,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53721,
    "c": 0.16666,
    "h": 141.7
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#228417
secondary
#AC3FB8
accent
#3BEDDB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #228417

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

Preview Lab → · Contrast checker → · Palette generator →

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