#228117#228117

#228117 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.163 H 141.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228117
RGBrgb(34, 129, 23)
HSLhsl(114, 70%, 30%)
HSVhsv(114, 82%, 51%)
CMYKcmyk(73.6%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.11, -46.99, 45.45)
CIE-LCHlch(47.11, 65.37, 135.96°)
OKLaboklab(52.86% -0.1281 0.1012)
OKLCHoklch(52.86% 0.163 141.7)
XYZxyz(8.6641, 16.1015, 3.4617)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228117 #761781
analogous
#578117 #228117 #178141
triadic
#228117 #172281 #811722
tetradic
#228117 #175781 #761781 #814117
square
#228117 #175781 #761781 #814117
split-complementary
#228117 #411781 #811757
monochromatic
#071A05 #144D0E #228117 #30B520 #48DB37

Accessibility & contrast

On white

4.98
#228117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#228117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228117
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228117#FFFFFF#000000##FFFFFF
##2281171.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#067D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228117;
/* rgb */ color: rgb(34, 129, 23);
/* oklch */ color: oklch(52.9% 0.163 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da75e',
    500: '#228117',
    950: '#000000',
  },
}
SCSS
$custom: #228117;
$custom-light: #6da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#228117",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 113.774,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.16323,
    "h": 141.7
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#228117
secondary
#A93EB5
accent
#3BEDDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228117

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

Preview Lab → · Contrast checker → · Palette generator →

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