#227954#227954

#227954 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.5% C 0.101 H 160.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#227954
RGBrgb(34, 121, 84)
HSLhsl(154, 56%, 30%)
HSVhsv(154, 72%, 47%)
CMYKcmyk(71.9%, 0%, 30.6%, 52.5%)
CIE-LABlab(45.16, -34.90, 13.05)
CIE-LCHlch(45.16, 37.26, 159.50°)
OKLaboklab(51.51% -0.0953 0.0332)
OKLCHoklch(51.51% 0.101 160.8)
XYZxyz(9.0964, 14.6539, 10.7349)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227954 #792247
analogous
#227929 #227954 #227279
triadic
#227954 #542279 #795422
tetradic
#227954 #292279 #792247 #727922
square
#227954 #292279 #792247 #727922
split-complementary
#227954 #792272 #792922
monochromatic
#071912 #154933 #227954 #2FA975 #49CC94

Accessibility & contrast

On white

5.34
#227954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#227954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227954
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227954#FFFFFF#000000##FFFFFF
##2279541.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777052
Deuteranopia (green-blind)
#6C6856
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227954;
/* rgb */ color: rgb(34, 121, 84);
/* oklch */ color: oklch(51.5% 0.101 160.8);
Tailwind
colors: {
  custom: {
    50: '#6aa084',
    500: '#227954',
    950: '#000000',
  },
}
SCSS
$custom: #227954;
$custom-light: #6aa084;
$custom-dark: #000000;
JSON
{
  "hex": "#227954",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 154.483,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.10088,
    "h": 160.8
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#227954
secondary
#AC4B74
accent
#4889DF
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #227954

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

Preview Lab → · Contrast checker → · Palette generator →

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