#228252#228252

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

Color values

HEX#228252
RGBrgb(34, 130, 82)
HSLhsl(150, 59%, 32%)
HSVhsv(150, 74%, 51%)
CMYKcmyk(73.8%, 0%, 36.9%, 49%)
CIE-LABlab(48.15, -39.18, 18.28)
CIE-LCHlch(48.15, 43.24, 154.99°)
OKLaboklab(53.96% -0.106 0.0459)
OKLCHoklch(53.96% 0.116 156.6)
XYZxyz(10.1643, 16.9134, 10.7099)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228252 #822252
analogous
#228222 #228252 #228282
triadic
#228252 #522282 #825222
tetradic
#228252 #222282 #822252 #828222
square
#228252 #222282 #822252 #828222
split-complementary
#228252 #822282 #822222
monochromatic
#092115 #155133 #228252 #2FB371 #4ED18F

Accessibility & contrast

On white

4.79
#228252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#228252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228252
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228252#FFFFFF#000000##FFFFFF
##2282521.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #228252;
/* rgb */ color: rgb(34, 130, 82);
/* oklch */ color: oklch(54.0% 0.116 156.6);
Tailwind
colors: {
  custom: {
    50: '#6ba783',
    500: '#228252',
    950: '#000000',
  },
}
SCSS
$custom: #228252;
$custom-light: #6ba783;
$custom-dark: #000000;
JSON
{
  "hex": "#228252",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 150,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.11557,
    "h": 156.6
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#228252
secondary
#B44C80
accent
#4694E2
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #228252

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

Preview Lab → · Contrast checker → · Palette generator →

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