#225B40#225B40

#225B40 is a dark, moderate teal. Relative luminance 0.082; OKLCH L 42.5% C 0.075 H 160.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#225B40
RGBrgb(34, 91, 64)
HSLhsl(152, 46%, 25%)
HSVhsv(152, 63%, 36%)
CMYKcmyk(62.6%, 0%, 29.7%, 64.3%)
CIE-LABlab(34.38, -25.82, 10.12)
CIE-LCHlch(34.38, 27.74, 158.59°)
OKLaboklab(42.53% -0.0708 0.0258)
OKLCHoklch(42.53% 0.075 160)
XYZxyz(5.3257, 8.1919, 6.1500)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225B40 #5B223D
analogous
#225B24 #225B40 #225A5B
triadic
#225B40 #40225B #5B4022
tetradic
#225B40 #24225B #5B223D #5A5B22
square
#225B40 #24225B #5B223D #5A5B22
split-complementary
#225B40 #5B225A #5B2422
monochromatic
#081610 #112E21 #225B40 #33885F #43B47F

Accessibility & contrast

On white

7.96
#225B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#225B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225B40
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225B40#FFFFFF#000000##FFFFFF
##225B401.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A543E
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#0A5B54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #225b40;
/* rgb */ color: rgb(34, 91, 64);
/* oklch */ color: oklch(42.5% 0.075 160.0);
Tailwind
colors: {
  custom: {
    50: '#638a75',
    500: '#225b40',
    950: '#000000',
  },
}
SCSS
$custom: #225b40;
$custom-light: #638a75;
$custom-dark: #000000;
JSON
{
  "hex": "#225b40",
  "rgb": {
    "r": 34,
    "g": 91,
    "b": 64
  },
  "hsl": {
    "h": 151.579,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42526,
    "c": 0.07532,
    "h": 160
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#225B40
secondary
#8F4A6B
accent
#5390D5
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #225B40

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

Preview Lab → · Contrast checker → · Palette generator →

#225B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva