#228254#228254

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

Color values

HEX#228254
RGBrgb(34, 130, 84)
HSLhsl(151, 59%, 32%)
HSVhsv(151, 74%, 51%)
CMYKcmyk(73.8%, 0%, 35.4%, 49%)
CIE-LABlab(48.19, -38.75, 17.20)
CIE-LCHlch(48.19, 42.40, 156.07°)
OKLaboklab(54% -0.105 0.0433)
OKLCHoklch(54% 0.114 157.6)
XYZxyz(10.2416, 16.9443, 11.1166)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228254 #822250
analogous
#228224 #228254 #228082
triadic
#228254 #542282 #825422
tetradic
#228254 #242282 #822250 #808222
square
#228254 #242282 #822250 #808222
split-complementary
#228254 #822280 #822422
monochromatic
#092115 #155135 #228254 #2FB373 #4ED192

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##228254#FFFFFF#000000##FFFFFF
##2282541.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)
#817851
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228254;
/* rgb */ color: rgb(34, 130, 84);
/* oklch */ color: oklch(54.0% 0.114 157.6);
Tailwind
colors: {
  custom: {
    50: '#6ba784',
    500: '#228254',
    950: '#000000',
  },
}
SCSS
$custom: #228254;
$custom-light: #6ba784;
$custom-dark: #000000;
JSON
{
  "hex": "#228254",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 151.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.11364,
    "h": 157.6
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#228254
secondary
#B44C7E
accent
#4691E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0B
muted
#7A7F7C

Preview Lab

Preview with #228254

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

Preview Lab → · Contrast checker → · Palette generator →

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