#125245#125245

#125245 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.6% C 0.066 H 175.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#125245
RGBrgb(18, 82, 69)
HSLhsl(168, 64%, 20%)
HSVhsv(168, 78%, 32%)
CMYKcmyk(78%, 0%, 15.9%, 67.8%)
CIE-LABlab(30.86, -23.27, 1.94)
CIE-LCHlch(30.86, 23.35, 175.23°)
OKLaboklab(39.56% -0.0663 0.0048)
OKLCHoklch(39.56% 0.066 175.9)
XYZxyz(4.3404, 6.5923, 6.6728)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125245 #52121F
analogous
#125225 #125245 #123F52
triadic
#125245 #451252 #524512
tetradic
#125245 #251252 #52121F #3F5212
square
#125245 #251252 #52121F #3F5212
split-complementary
#125245 #52123F #522512
monochromatic
#061915 #07201B #125245 #1D846F #28B699

Accessibility & contrast

On white

9.06
#125245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#125245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125245
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125245#FFFFFF#000000##FFFFFF
##1252451.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4C44
Deuteranopia (green-blind)
#464646
Tritanopia (blue-blind)
#00534E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125245;
/* rgb */ color: rgb(18, 82, 69);
/* oklch */ color: oklch(39.6% 0.066 175.9);
Tailwind
colors: {
  custom: {
    50: '#5b8378',
    500: '#125245',
    950: '#000000',
  },
}
SCSS
$custom: #125245;
$custom-light: #5b8378;
$custom-dark: #000000;
JSON
{
  "hex": "#125245",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 69
  },
  "hsl": {
    "h": 167.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.06643,
    "h": 175.9
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#125245
secondary
#8B3546
accent
#4163E7
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #125245

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

Preview Lab → · Contrast checker → · Palette generator →

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