#125235#125235

#125235 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.1% C 0.080 H 158.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#125235
RGBrgb(18, 82, 53)
HSLhsl(153, 64%, 20%)
HSVhsv(153, 78%, 32%)
CMYKcmyk(78%, 0%, 35.4%, 67.8%)
CIE-LABlab(30.45, -27.62, 11.45)
CIE-LCHlch(30.45, 29.90, 157.49°)
OKLaboklab(39.09% -0.075 0.0289)
OKLCHoklch(39.09% 0.08 158.9)
XYZxyz(3.9090, 6.4198, 4.4006)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125235 #52122F
analogous
#125215 #125235 #124F52
triadic
#125235 #351252 #523512
tetradic
#125235 #151252 #52122F #4F5212
square
#125235 #151252 #52122F #4F5212
split-complementary
#125235 #52124F #521512
monochromatic
#061910 #072015 #125235 #1D8455 #28B676

Accessibility & contrast

On white

9.19
#125235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#125235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125235
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125235#FFFFFF#000000##FFFFFF
##1252351.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#494537
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125235;
/* rgb */ color: rgb(18, 82, 53);
/* oklch */ color: oklch(39.1% 0.080 158.9);
Tailwind
colors: {
  custom: {
    50: '#5b836c',
    500: '#125235',
    950: '#000000',
  },
}
SCSS
$custom: #125235;
$custom-light: #5b836c;
$custom-dark: #000000;
JSON
{
  "hex": "#125235",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 53
  },
  "hsl": {
    "h": 152.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.08043,
    "h": 158.9
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#125235
secondary
#8B355C
accent
#418CE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #125235

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

Preview Lab → · Contrast checker → · Palette generator →

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