#226017#226017

#226017 is a dark, vivid green. Relative luminance 0.088; OKLCH L 43.3% C 0.123 H 140.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#226017
RGBrgb(34, 96, 23)
HSLhsl(111, 61%, 23%)
HSVhsv(111, 76%, 38%)
CMYKcmyk(64.6%, 0%, 76%, 62.4%)
CIE-LABlab(35.53, -34.81, 34.05)
CIE-LCHlch(35.53, 48.70, 135.63°)
OKLaboklab(43.27% -0.0952 0.0774)
OKLCHoklch(43.27% 0.123 140.9)
XYZxyz(4.9970, 8.7672, 2.2394)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226017 #551760
analogous
#466017 #226017 #176030
triadic
#226017 #172260 #601722
tetradic
#226017 #174660 #551760 #603017
square
#226017 #174660 #551760 #603017
split-complementary
#226017 #301760 #601746
monochromatic
#091906 #112F0B #226017 #339123 #45C32F

Accessibility & contrast

On white

7.63
#226017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#226017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226017
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226017#FFFFFF#000000##FFFFFF
##2260171.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#195D52
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #226017;
/* rgb */ color: rgb(34, 96, 23);
/* oklch */ color: oklch(43.3% 0.123 140.9);
Tailwind
colors: {
  custom: {
    50: '#668e59',
    500: '#226017',
    950: '#000000',
  },
}
SCSS
$custom: #226017;
$custom-light: #668e59;
$custom-dark: #000000;
JSON
{
  "hex": "#226017",
  "rgb": {
    "r": 34,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 110.959,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.1227,
    "h": 140.9
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#226017
secondary
#893C97
accent
#43E4CC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C04
muted
#7A7D79

Preview Lab

Preview with #226017

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

Preview Lab → · Contrast checker → · Palette generator →

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