#228256#228256

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

Color values

HEX#228256
RGBrgb(34, 130, 86)
HSLhsl(153, 59%, 32%)
HSVhsv(153, 74%, 51%)
CMYKcmyk(73.8%, 0%, 33.8%, 49%)
CIE-LABlab(48.23, -38.31, 16.11)
CIE-LCHlch(48.23, 41.56, 157.20°)
OKLaboklab(54.05% -0.104 0.0407)
OKLCHoklch(54.05% 0.112 158.6)
XYZxyz(10.3210, 16.9760, 11.5351)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228256 #82224E
analogous
#228226 #228256 #227E82
triadic
#228256 #562282 #825622
tetradic
#228256 #262282 #82224E #7E8222
square
#228256 #262282 #82224E #7E8222
split-complementary
#228256 #82227E #822622
monochromatic
#092116 #155136 #228256 #2FB376 #4ED195

Accessibility & contrast

On white

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

On black

4.40
#228256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##228256#FFFFFF#000000##FFFFFF
##2282561.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #228256;
/* rgb */ color: rgb(34, 130, 86);
/* oklch */ color: oklch(54.0% 0.112 158.6);
Tailwind
colors: {
  custom: {
    50: '#6ca786',
    500: '#228256',
    950: '#000000',
  },
}
SCSS
$custom: #228256;
$custom-light: #6ca786;
$custom-dark: #000000;
JSON
{
  "hex": "#228256",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 152.5,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.11173,
    "h": 158.6
  },
  "luminance": 0.16977
}

Semantic roles & 50–950 ramp

primary
#228256
secondary
#B44C7C
accent
#468DE2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #228256

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

Preview Lab → · Contrast checker → · Palette generator →

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