#228762#228762

#228762 is a mid, moderate teal. Relative luminance 0.185; OKLCH L 55.7% C 0.108 H 163.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#228762
RGBrgb(34, 135, 98)
HSLhsl(158, 60%, 33%)
HSVhsv(158, 75%, 53%)
CMYKcmyk(74.8%, 0%, 27.4%, 47.1%)
CIE-LABlab(50.15, -37.66, 11.87)
CIE-LCHlch(50.15, 39.48, 162.51°)
OKLaboklab(55.71% -0.1033 0.0303)
OKLCHoklch(55.71% 0.108 163.7)
XYZxyz(11.5270, 18.5485, 14.5256)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228762 #872247
analogous
#228730 #228762 #227987
triadic
#228762 #622287 #876222
tetradic
#228762 #302287 #872247 #798722
square
#228762 #302287 #872247 #798722
split-complementary
#228762 #872279 #873022
monochromatic
#09251B #16563F #228762 #2EB885 #50D3A3

Accessibility & contrast

On white

4.46
#228762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#228762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228762
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228762#FFFFFF#000000##000000
##2287621.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847D60
Deuteranopia (green-blind)
#787464
Tritanopia (blue-blind)
#00877D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #228762;
/* rgb */ color: rgb(34, 135, 98);
/* oklch */ color: oklch(55.7% 0.108 163.7);
Tailwind
colors: {
  custom: {
    50: '#6dab8e',
    500: '#228762',
    950: '#000000',
  },
}
SCSS
$custom: #228762;
$custom-light: #6dab8e;
$custom-dark: #000000;
JSON
{
  "hex": "#228762",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 158.02,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55714,
    "c": 0.10767,
    "h": 163.7
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#228762
secondary
#B74E74
accent
#457FE3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #228762

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

Preview Lab → · Contrast checker → · Palette generator →

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