#225A40#225A40

#225A40 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.2% C 0.074 H 160.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#225A40
RGBrgb(34, 90, 64)
HSLhsl(152, 45%, 24%)
HSVhsv(152, 62%, 35%)
CMYKcmyk(62.2%, 0%, 28.9%, 64.7%)
CIE-LABlab(34.03, -25.33, 9.64)
CIE-LCHlch(34.03, 27.11, 159.17°)
OKLaboklab(42.24% -0.0695 0.0246)
OKLCHoklch(42.24% 0.074 160.5)
XYZxyz(5.2408, 8.0221, 6.1217)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225A40 #5A223C
analogous
#225A24 #225A40 #22585A
triadic
#225A40 #40225A #5A4022
tetradic
#225A40 #24225A #5A223C #585A22
square
#225A40 #24225A #5A223C #585A22
split-complementary
#225A40 #5A2258 #5A2422
monochromatic
#081610 #112E20 #225A40 #338660 #44B37F

Accessibility & contrast

On white

8.06
#225A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#225A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225A40
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225A40#FFFFFF#000000##FFFFFF
##225A401.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59533F
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#0A5A53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #225a40;
/* rgb */ color: rgb(34, 90, 64);
/* oklch */ color: oklch(42.2% 0.074 160.5);
Tailwind
colors: {
  custom: {
    50: '#638974',
    500: '#225a40',
    950: '#000000',
  },
}
SCSS
$custom: #225a40;
$custom-light: #638974;
$custom-dark: #000000;
JSON
{
  "hex": "#225a40",
  "rgb": {
    "r": 34,
    "g": 90,
    "b": 64
  },
  "hsl": {
    "h": 152.143,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.07373,
    "h": 160.5
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#225A40
secondary
#8E4A69
accent
#538FD5
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #225A40

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

Preview Lab → · Contrast checker → · Palette generator →

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