#228019#228019

#228019 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.161 H 141.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228019
RGBrgb(34, 128, 25)
HSLhsl(115, 67%, 30%)
HSVhsv(115, 80%, 50%)
CMYKcmyk(73.4%, 0%, 80.5%, 49.8%)
CIE-LABlab(46.77, -46.51, 44.47)
CIE-LCHlch(46.77, 64.35, 136.28°)
OKLaboklab(52.59% -0.1267 0.0994)
OKLCHoklch(52.59% 0.161 141.9)
XYZxyz(8.5538, 15.8477, 3.5276)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228019 #771980
analogous
#568019 #228019 #198043
triadic
#228019 #192280 #801922
tetradic
#228019 #195680 #771980 #804319
square
#228019 #195680 #771980 #804319
split-complementary
#228019 #431980 #801956
monochromatic
#071A05 #144D0F #228019 #30B323 #49D93B

Accessibility & contrast

On white

5.04
#228019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#228019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228019
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228019#FFFFFF#000000##FFFFFF
##2280191.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#067C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228019;
/* rgb */ color: rgb(34, 128, 25);
/* oklch */ color: oklch(52.6% 0.161 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da65f',
    500: '#228019',
    950: '#000000',
  },
}
SCSS
$custom: #228019;
$custom-light: #6da65f;
$custom-dark: #000000;
JSON
{
  "hex": "#228019",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 114.757,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.16107,
    "h": 141.9
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#228019
secondary
#AA41B4
accent
#3EEADB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228019

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

Preview Lab → · Contrast checker → · Palette generator →

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