#228B1C#228B1C

#228B1C is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.172 H 142.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228B1C
RGBrgb(34, 139, 28)
HSLhsl(117, 66%, 33%)
HSVhsv(117, 80%, 55%)
CMYKcmyk(75.5%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.56, -50.04, 47.11)
CIE-LCHlch(50.56, 68.73, 136.73°)
OKLaboklab(55.74% -0.1361 0.1054)
OKLCHoklch(55.74% 0.172 142.3)
XYZxyz(10.1013, 18.8880, 4.2118)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228B1C #851C8B
analogous
#598B1C #228B1C #1C8B4E
triadic
#228B1C #1C228B #8B1C22
tetradic
#228B1C #1C598B #851C8B #8B4E1C
square
#228B1C #1C598B #851C8B #8B4E1C
split-complementary
#228B1C #4E1C8B #8B1C59
monochromatic
#092507 #165812 #228B1C #2EBE26 #4FDA47

Accessibility & contrast

On white

4.40
#228B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#228B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228B1C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228B1C#FFFFFF#000000##000000
##228B1C1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #228b1c;
/* rgb */ color: rgb(34, 139, 28);
/* oklch */ color: oklch(55.7% 0.172 142.3);
Tailwind
colors: {
  custom: {
    50: '#70ae62',
    500: '#228b1c',
    950: '#000000',
  },
}
SCSS
$custom: #228b1c;
$custom-light: #70ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#228b1c",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 116.757,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.17213,
    "h": 142.3
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#228B1C
secondary
#B647BC
accent
#3EE9E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #228B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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