#228255#228255

#228255 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.0% C 0.113 H 158.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#228255
RGBrgb(34, 130, 85)
HSLhsl(152, 59%, 32%)
HSVhsv(152, 74%, 51%)
CMYKcmyk(73.8%, 0%, 34.6%, 49%)
CIE-LABlab(48.21, -38.53, 16.65)
CIE-LCHlch(48.21, 41.98, 156.63°)
OKLaboklab(54.02% -0.1045 0.042)
OKLCHoklch(54.02% 0.113 158.1)
XYZxyz(10.2810, 16.9600, 11.3244)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228255 #82224F
analogous
#228225 #228255 #227F82
triadic
#228255 #552282 #825522
tetradic
#228255 #252282 #82224F #7F8222
square
#228255 #252282 #82224F #7F8222
split-complementary
#228255 #82227F #822522
monochromatic
#092116 #155135 #228255 #2FB375 #4ED193

Accessibility & contrast

On white

4.78
#228255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#228255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228255
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228255#FFFFFF#000000##FFFFFF
##2282551.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817852
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228255;
/* rgb */ color: rgb(34, 130, 85);
/* oklch */ color: oklch(54.0% 0.113 158.1);
Tailwind
colors: {
  custom: {
    50: '#6ca785',
    500: '#228255',
    950: '#000000',
  },
}
SCSS
$custom: #228255;
$custom-light: #6ca785;
$custom-dark: #000000;
JSON
{
  "hex": "#228255",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 151.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.11268,
    "h": 158.1
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#228255
secondary
#B44C7D
accent
#468FE2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #228255

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

Preview Lab → · Contrast checker → · Palette generator →

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