#245C40#245C40

#245C40 is a dark, moderate teal. Relative luminance 0.084; OKLCH L 42.9% C 0.076 H 158.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#245C40
RGBrgb(36, 92, 64)
HSLhsl(150, 44%, 25%)
HSVhsv(150, 61%, 36%)
CMYKcmyk(60.9%, 0%, 30.4%, 63.9%)
CIE-LABlab(34.80, -25.81, 10.72)
CIE-LCHlch(34.80, 27.95, 157.45°)
OKLaboklab(42.89% -0.0706 0.0273)
OKLCHoklch(42.89% 0.076 158.9)
XYZxyz(5.4796, 8.3990, 6.1819)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245C40 #5C2440
analogous
#245C24 #245C40 #245C5C
triadic
#245C40 #40245C #5C4024
tetradic
#245C40 #24245C #5C2440 #5C5C24
square
#245C40 #24245C #5C2440 #5C5C24
split-complementary
#245C40 #5C245C #5C2424
monochromatic
#09160F #133021 #245C40 #35885F #46B47D

Accessibility & contrast

On white

7.84
#245C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#245C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245C40
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245C40#FFFFFF#000000##FFFFFF
##245C401.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553E
Deuteranopia (green-blind)
#535042
Tritanopia (blue-blind)
#0F5B54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #245c40;
/* rgb */ color: rgb(36, 92, 64);
/* oklch */ color: oklch(42.9% 0.076 158.9);
Tailwind
colors: {
  custom: {
    50: '#648a75',
    500: '#245c40',
    950: '#000000',
  },
}
SCSS
$custom: #245c40;
$custom-light: #648a75;
$custom-dark: #000000;
JSON
{
  "hex": "#245c40",
  "rgb": {
    "r": 36,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 150,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.07573,
    "h": 158.9
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#245C40
secondary
#904C6E
accent
#5494D3
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #245C40

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

Preview Lab → · Contrast checker → · Palette generator →

#245C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva