#226534#226534

#226534 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.103 H 149.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#226534
RGBrgb(34, 101, 52)
HSLhsl(136, 50%, 26%)
HSVhsv(136, 66%, 40%)
CMYKcmyk(66.3%, 0%, 48.5%, 60.4%)
CIE-LABlab(37.65, -32.92, 21.63)
CIE-LCHlch(37.65, 39.39, 146.69°)
OKLaboklab(45.14% -0.0889 0.053)
OKLCHoklch(45.14% 0.104 149.2)
XYZxyz(5.9328, 9.8948, 4.8454)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226534 #652253
analogous
#326522 #226534 #226556
triadic
#226534 #342265 #653422
tetradic
#226534 #223265 #652253 #655622
square
#226534 #223265 #652253 #655622
split-complementary
#226534 #562265 #652232
monochromatic
#08170C #13371C #226534 #31934C #42BF64

Accessibility & contrast

On white

7.05
#226534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#226534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226534
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226534#FFFFFF#000000##FFFFFF
##2265341.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C30
Deuteranopia (green-blind)
#5D5637
Tritanopia (blue-blind)
#0D6359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226534;
/* rgb */ color: rgb(34, 101, 52);
/* oklch */ color: oklch(45.1% 0.103 149.2);
Tailwind
colors: {
  custom: {
    50: '#65916c',
    500: '#226534',
    950: '#000000',
  },
}
SCSS
$custom: #226534;
$custom-light: #65916c;
$custom-dark: #000000;
JSON
{
  "hex": "#226534",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 52
  },
  "hsl": {
    "h": 136.119,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.1035,
    "h": 149.2
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#226534
secondary
#994A84
accent
#4FB4D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226534

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

Preview Lab → · Contrast checker → · Palette generator →

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