#228015#228015

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

Color values

HEX#228015
RGBrgb(34, 128, 21)
HSLhsl(113, 72%, 29%)
HSVhsv(113, 84%, 50%)
CMYKcmyk(73.4%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.75, -46.77, 45.73)
CIE-LCHlch(46.75, 65.42, 135.64°)
OKLaboklab(52.57% -0.1276 0.1015)
OKLCHoklch(52.57% 0.163 141.5)
XYZxyz(8.5137, 15.8316, 3.3164)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228015 #731580
analogous
#588015 #228015 #15803E
triadic
#228015 #152280 #801522
tetradic
#228015 #155880 #731580 #803E15
square
#228015 #155880 #731580 #803E15
split-complementary
#228015 #3E1580 #801558
monochromatic
#071A04 #144B0C #228015 #30B51E #47DD32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228015#FFFFFF#000000##FFFFFF
##2280151.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)
#796C22
Tritanopia (blue-blind)
#077C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228015;
/* rgb */ color: rgb(34, 128, 21);
/* oklch */ color: oklch(52.6% 0.163 141.5);
Tailwind
colors: {
  custom: {
    50: '#6da65d',
    500: '#228015',
    950: '#000000',
  },
}
SCSS
$custom: #228015;
$custom-light: #6da65d;
$custom-dark: #000000;
JSON
{
  "hex": "#228015",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 112.71,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.16304,
    "h": 141.5
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#228015
secondary
#A63CB5
accent
#39EFD9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228015

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

Preview Lab → · Contrast checker → · Palette generator →

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