#228C1A#228C1A

#228C1A is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.0% C 0.174 H 142.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#228C1A
RGBrgb(34, 140, 26)
HSLhsl(116, 69%, 33%)
HSVhsv(116, 81%, 55%)
CMYKcmyk(75.7%, 0%, 81.4%, 45.1%)
CIE-LABlab(50.89, -50.51, 48.08)
CIE-LCHlch(50.89, 69.73, 136.41°)
OKLaboklab(56.01% -0.1375 0.1071)
OKLCHoklch(56.01% 0.174 142.1)
XYZxyz(10.2236, 19.1697, 4.1384)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228C1A #841A8C
analogous
#5B8C1A #228C1A #1A8C4B
triadic
#228C1A #1A228C #8C1A22
tetradic
#228C1A #1A5B8C #841A8C #8C4B1A
square
#228C1A #1A5B8C #841A8C #8C4B1A
split-complementary
#228C1A #4B1A8C #8C1A5B
monochromatic
#092507 #155810 #228C1A #2FC024 #4FDC44

Accessibility & contrast

On white

4.34
#228C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#228C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228C1A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228C1A#FFFFFF#000000##000000
##228C1A1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #228c1a;
/* rgb */ color: rgb(34, 140, 26);
/* oklch */ color: oklch(56.0% 0.174 142.1);
Tailwind
colors: {
  custom: {
    50: '#70af61',
    500: '#228c1a',
    950: '#000000',
  },
}
SCSS
$custom: #228c1a;
$custom-light: #70af61;
$custom-dark: #000000;
JSON
{
  "hex": "#228c1a",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 115.789,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.17426,
    "h": 142.1
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

primary
#228C1A
secondary
#B544BE
accent
#3CECDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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