#228017#228017

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

Color values

HEX#228017
RGBrgb(34, 128, 23)
HSLhsl(114, 70%, 30%)
HSVhsv(114, 82%, 50%)
CMYKcmyk(73.4%, 0%, 82%, 49.8%)
CIE-LABlab(46.76, -46.65, 45.12)
CIE-LCHlch(46.76, 64.90, 135.95°)
OKLaboklab(52.58% -0.1272 0.1005)
OKLCHoklch(52.58% 0.162 141.7)
XYZxyz(8.5330, 15.8393, 3.4180)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228017 #751780
analogous
#578017 #228017 #178040
triadic
#228017 #172280 #801722
tetradic
#228017 #175780 #751780 #804017
square
#228017 #175780 #751780 #804017
split-complementary
#228017 #401780 #801757
monochromatic
#071A05 #144C0E #228017 #30B420 #48DB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #228017;
/* rgb */ color: rgb(34, 128, 23);
/* oklch */ color: oklch(52.6% 0.162 141.7);
Tailwind
colors: {
  custom: {
    50: '#6da65e',
    500: '#228017',
    950: '#000000',
  },
}
SCSS
$custom: #228017;
$custom-light: #6da65e;
$custom-dark: #000000;
JSON
{
  "hex": "#228017",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 113.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52579,
    "c": 0.16208,
    "h": 141.7
  },
  "luminance": 0.1584
}

Semantic roles & 50–950 ramp

primary
#228017
secondary
#A83EB4
accent
#3BECDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228017

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

Preview Lab → · Contrast checker → · Palette generator →

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