#228116#228116

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

Color values

HEX#228116
RGBrgb(34, 129, 22)
HSLhsl(113, 71%, 30%)
HSVhsv(113, 83%, 51%)
CMYKcmyk(73.6%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.10, -47.05, 45.76)
CIE-LCHlch(47.10, 65.63, 135.80°)
OKLaboklab(52.86% -0.1283 0.1017)
OKLCHoklch(52.86% 0.164 141.6)
XYZxyz(8.6543, 16.0976, 3.4100)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228116 #751681
analogous
#588116 #228116 #168140
triadic
#228116 #162281 #811622
tetradic
#228116 #165881 #751681 #814016
square
#228116 #165881 #751681 #814016
split-complementary
#228116 #401681 #811658
monochromatic
#071A04 #144D0D #228116 #30B51F #48DD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228116#FFFFFF#000000##FFFFFF
##2281161.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)
#7A6D23
Tritanopia (blue-blind)
#067D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228116;
/* rgb */ color: rgb(34, 129, 22);
/* oklch */ color: oklch(52.9% 0.164 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ea75d',
    500: '#228116',
    950: '#000000',
  },
}
SCSS
$custom: #228116;
$custom-light: #6ea75d;
$custom-dark: #000000;
JSON
{
  "hex": "#228116",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 113.271,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52859,
    "c": 0.16371,
    "h": 141.6
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#228116
secondary
#A83DB6
accent
#3AEED9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228116

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

Preview Lab → · Contrast checker → · Palette generator →

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