#226527#226527

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

Color values

HEX#226527
RGBrgb(34, 101, 39)
HSLhsl(124, 50%, 26%)
HSVhsv(124, 66%, 40%)
CMYKcmyk(66.3%, 0%, 61.4%, 60.4%)
CIE-LABlab(37.47, -35.00, 28.54)
CIE-LCHlch(37.47, 45.16, 140.81°)
OKLaboklab(44.92% -0.0948 0.0675)
OKLCHoklch(44.92% 0.116 144.5)
XYZxyz(5.6792, 9.7934, 3.5101)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226527 #652260
analogous
#3F6522 #226527 #226549
triadic
#226527 #272265 #652722
tetradic
#226527 #223F65 #652260 #654922
square
#226527 #223F65 #652260 #654922
split-complementary
#226527 #492265 #65223F
monochromatic
#081709 #133715 #226527 #319339 #42BF4B

Accessibility & contrast

On white

7.10
#226527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#226527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226527
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226527#FFFFFF#000000##FFFFFF
##2265271.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C21
Deuteranopia (green-blind)
#5F562C
Tritanopia (blue-blind)
#136257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226527;
/* rgb */ color: rgb(34, 101, 39);
/* oklch */ color: oklch(44.9% 0.116 144.5);
Tailwind
colors: {
  custom: {
    50: '#669263',
    500: '#226527',
    950: '#000000',
  },
}
SCSS
$custom: #226527;
$custom-light: #669263;
$custom-dark: #000000;
JSON
{
  "hex": "#226527",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 39
  },
  "hsl": {
    "h": 124.478,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.11641,
    "h": 144.5
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#226527
secondary
#994A93
accent
#4FCFD9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #226527

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

Preview Lab → · Contrast checker → · Palette generator →

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