#125238#125238

#125238 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.2% C 0.077 H 161.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#125238
RGBrgb(18, 82, 56)
HSLhsl(156, 64%, 20%)
HSVhsv(156, 78%, 32%)
CMYKcmyk(78%, 0%, 31.7%, 67.8%)
CIE-LABlab(30.52, -26.87, 9.67)
CIE-LCHlch(30.52, 28.56, 160.21°)
OKLaboklab(39.17% -0.0734 0.0246)
OKLCHoklch(39.17% 0.077 161.5)
XYZxyz(3.9801, 6.4483, 4.7755)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125238 #52122C
analogous
#125218 #125238 #124C52
triadic
#125238 #381252 #523812
tetradic
#125238 #181252 #52122C #4C5212
square
#125238 #181252 #52122C #4C5212
split-complementary
#125238 #52124C #521812
monochromatic
#061911 #072016 #125238 #1D845A #28B67D

Accessibility & contrast

On white

9.17
#125238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#125238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125238
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125238#FFFFFF#000000##FFFFFF
##1252381.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B36
Deuteranopia (green-blind)
#49453A
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125238;
/* rgb */ color: rgb(18, 82, 56);
/* oklch */ color: oklch(39.2% 0.077 161.5);
Tailwind
colors: {
  custom: {
    50: '#5b836e',
    500: '#125238',
    950: '#000000',
  },
}
SCSS
$custom: #125238;
$custom-light: #5b836e;
$custom-dark: #000000;
JSON
{
  "hex": "#125238",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 155.625,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.07741,
    "h": 161.5
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#125238
secondary
#8B3558
accent
#4184E7
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125238

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

Preview Lab → · Contrast checker → · Palette generator →

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