#226F15#226F15

#226F15 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.143 H 141.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#226F15
RGBrgb(34, 111, 21)
HSLhsl(111, 68%, 26%)
HSVhsv(111, 81%, 44%)
CMYKcmyk(69.4%, 0%, 81.1%, 56.5%)
CIE-LABlab(40.84, -40.73, 40.12)
CIE-LCHlch(40.84, 57.17, 135.43°)
OKLaboklab(47.66% -0.1113 0.0897)
OKLCHoklch(47.66% 0.143 141.1)
XYZxyz(6.4791, 11.7624, 2.6382)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F15 #62156F
analogous
#4F6F15 #226F15 #156F35
triadic
#226F15 #15226F #6F1522
tetradic
#226F15 #154F6F #62156F #6F3515
square
#226F15 #154F6F #62156F #6F3515
split-complementary
#226F15 #35156F #6F154F
monochromatic
#081A05 #123C0B #226F15 #32A21F #42D628

Accessibility & contrast

On white

6.26
#226F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#226F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F15
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F15#FFFFFF#000000##FFFFFF
##226F151.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#136B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226f15;
/* rgb */ color: rgb(34, 111, 21);
/* oklch */ color: oklch(47.7% 0.143 141.1);
Tailwind
colors: {
  custom: {
    50: '#69995a',
    500: '#226f15',
    950: '#000000',
  },
}
SCSS
$custom: #226f15;
$custom-light: #69995a;
$custom-dark: #000000;
JSON
{
  "hex": "#226f15",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 111.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47658,
    "c": 0.143,
    "h": 141.1
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#226F15
secondary
#963AA5
accent
#3DEBD2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226F15

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

Preview Lab → · Contrast checker → · Palette generator →

#226F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva