#226524#226524

#226524 is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.119 H 143.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#226524
RGBrgb(34, 101, 36)
HSLhsl(122, 50%, 26%)
HSVhsv(122, 66%, 40%)
CMYKcmyk(66.3%, 0%, 64.4%, 60.4%)
CIE-LABlab(37.43, -35.40, 30.03)
CIE-LCHlch(37.43, 46.42, 139.69°)
OKLaboklab(44.88% -0.096 0.0705)
OKLCHoklch(44.88% 0.119 143.7)
XYZxyz(5.6315, 9.7743, 3.2586)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226524 #652263
analogous
#426522 #226524 #226546
triadic
#226524 #242265 #652422
tetradic
#226524 #224265 #652263 #654622
square
#226524 #224265 #652263 #654622
split-complementary
#226524 #462265 #652242
monochromatic
#081708 #133714 #226524 #319334 #42BF46

Accessibility & contrast

On white

7.11
#226524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#226524 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226524
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226524#FFFFFF#000000##FFFFFF
##2265241.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C1D
Deuteranopia (green-blind)
#5F5629
Tritanopia (blue-blind)
#146257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226524;
/* rgb */ color: rgb(34, 101, 36);
/* oklch */ color: oklch(44.9% 0.119 143.7);
Tailwind
colors: {
  custom: {
    50: '#669261',
    500: '#226524',
    950: '#000000',
  },
}
SCSS
$custom: #226524;
$custom-light: #669261;
$custom-dark: #000000;
JSON
{
  "hex": "#226524",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 36
  },
  "hsl": {
    "h": 121.791,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.11913,
    "h": 143.7
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

primary
#226524
secondary
#994A96
accent
#4FD5D9
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226524

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

Preview Lab → · Contrast checker → · Palette generator →

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