#225531#225531

#225531 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.082 H 150.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#225531
RGBrgb(34, 85, 49)
HSLhsl(138, 43%, 23%)
HSVhsv(138, 60%, 33%)
CMYKcmyk(60%, 0%, 42.4%, 66.7%)
CIE-LABlab(31.94, -26.26, 15.99)
CIE-LCHlch(31.94, 30.75, 148.67°)
OKLaboklab(40.42% -0.0712 0.0398)
OKLCHoklch(40.42% 0.082 150.8)
XYZxyz(4.4622, 7.0584, 4.0324)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225531 #552246
analogous
#2C5522 #225531 #22554A
triadic
#225531 #312255 #553122
tetradic
#225531 #222C55 #552246 #554A22
square
#225531 #222C55 #552246 #554A22
split-complementary
#225531 #4A2255 #55222C
monochromatic
#09160D #112918 #225531 #33814A #45AC63

Accessibility & contrast

On white

8.71
#225531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#225531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225531
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225531#FFFFFF#000000##FFFFFF
##2255311.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E2F
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#15544C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #225531;
/* rgb */ color: rgb(34, 85, 49);
/* oklch */ color: oklch(40.4% 0.082 150.8);
Tailwind
colors: {
  custom: {
    50: '#628569',
    500: '#225531',
    950: '#000000',
  },
}
SCSS
$custom: #225531;
$custom-light: #628569;
$custom-dark: #000000;
JSON
{
  "hex": "#225531",
  "rgb": {
    "r": 34,
    "g": 85,
    "b": 49
  },
  "hsl": {
    "h": 137.647,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.08155,
    "h": 150.8
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#225531
secondary
#894A76
accent
#55AED3
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#050B06
muted
#7A7C7A

Preview Lab

Preview with #225531

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

Preview Lab → · Contrast checker → · Palette generator →

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