#228D10#228D10

#228D10 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.2% C 0.179 H 141.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#228D10
RGBrgb(34, 141, 16)
HSLhsl(111, 80%, 31%)
HSVhsv(111, 89%, 55%)
CMYKcmyk(75.9%, 0%, 88.7%, 44.7%)
CIE-LABlab(51.18, -51.37, 51.06)
CIE-LCHlch(51.18, 72.43, 135.17°)
OKLaboklab(56.24% -0.1402 0.112)
OKLCHoklch(56.24% 0.179 141.4)
XYZxyz(10.2775, 19.4261, 3.6981)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228D10 #7B108D
analogous
#608D10 #228D10 #108D3C
triadic
#228D10 #10228D #8D1022
tetradic
#228D10 #10608D #7B108D #8D3C10
square
#228D10 #10608D #7B108D #8D3C10
split-complementary
#228D10 #3C108D #8D1060
monochromatic
#071F04 #15560A #228D10 #2FC416 #4AE730

Accessibility & contrast

On white

4.30
#228D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#228D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228D10
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228D10#FFFFFF#000000##000000
##228D101.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #228d10;
/* rgb */ color: rgb(34, 141, 16);
/* oklch */ color: oklch(56.2% 0.179 141.4);
Tailwind
colors: {
  custom: {
    50: '#71af5d',
    500: '#228d10',
    950: '#000000',
  },
}
SCSS
$custom: #228d10;
$custom-light: #71af5d;
$custom-dark: #000000;
JSON
{
  "hex": "#228d10",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 111.36,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.17943,
    "h": 141.4
  },
  "luminance": 0.19427
}

Semantic roles & 50–950 ramp

primary
#228D10
secondary
#AE37C2
accent
#32F6DA
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #228D10

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

Preview Lab → · Contrast checker → · Palette generator →

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