#228F1A#228F1A

#228F1A is a mid, vivid green. Relative luminance 0.201; OKLCH L 56.9% C 0.178 H 142.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#228F1A
RGBrgb(34, 143, 26)
HSLhsl(116, 69%, 33%)
HSVhsv(116, 82%, 56%)
CMYKcmyk(76.2%, 0%, 81.8%, 43.9%)
CIE-LABlab(51.90, -51.50, 49.04)
CIE-LCHlch(51.90, 71.11, 136.40°)
OKLaboklab(56.85% -0.1402 0.1091)
OKLCHoklch(56.85% 0.178 142.1)
XYZxyz(10.6680, 20.0584, 4.2865)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228F1A #871A8F
analogous
#5D8F1A #228F1A #1A8F4C
triadic
#228F1A #1A228F #8F1A22
tetradic
#228F1A #1A5D8F #871A8F #8F4C1A
square
#228F1A #1A5D8F #871A8F #8F4C1A
split-complementary
#228F1A #4C1A8F #8F1A5D
monochromatic
#092707 #165B11 #228F1A #2EC323 #50DD46

Accessibility & contrast

On white

4.19
#228F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#228F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228F1A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228F1A#FFFFFF#000000##000000
##228F1A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #228f1a;
/* rgb */ color: rgb(34, 143, 26);
/* oklch */ color: oklch(56.9% 0.178 142.1);
Tailwind
colors: {
  custom: {
    50: '#71b161',
    500: '#228f1a',
    950: '#000000',
  },
}
SCSS
$custom: #228f1a;
$custom-light: #71b161;
$custom-dark: #000000;
JSON
{
  "hex": "#228f1a",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 115.897,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.17761,
    "h": 142.1
  },
  "luminance": 0.2006
}

Semantic roles & 50–950 ramp

primary
#228F1A
secondary
#B746BF
accent
#3CECE0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #228F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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