#125334#125334

#125334 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.4% C 0.083 H 157.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#125334
RGBrgb(18, 83, 52)
HSLhsl(151, 64%, 20%)
HSVhsv(151, 78%, 33%)
CMYKcmyk(78.3%, 0%, 37.3%, 67.5%)
CIE-LABlab(30.79, -28.31, 12.53)
CIE-LCHlch(30.79, 30.96, 156.12°)
OKLaboklab(39.36% -0.0767 0.0316)
OKLCHoklch(39.36% 0.083 157.6)
XYZxyz(3.9622, 6.5626, 4.3060)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125334 #531231
analogous
#125314 #125334 #125153
triadic
#125334 #341253 #533412
tetradic
#125334 #141253 #531231 #515312
square
#125334 #141253 #531231 #515312
split-complementary
#125334 #531251 #531412
monochromatic
#051910 #072114 #125334 #1D8554 #28B873

Accessibility & contrast

On white

9.08
#125334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#125334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125334
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125334#FFFFFF#000000##FFFFFF
##1253341.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524C32
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #125334;
/* rgb */ color: rgb(18, 83, 52);
/* oklch */ color: oklch(39.4% 0.083 157.6);
Tailwind
colors: {
  custom: {
    50: '#5b846b',
    500: '#125334',
    950: '#000000',
  },
}
SCSS
$custom: #125334;
$custom-light: #5b846b;
$custom-dark: #000000;
JSON
{
  "hex": "#125334",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 151.385,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.08299,
    "h": 157.6
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#125334
secondary
#8C355E
accent
#4090E7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125334

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

Preview Lab → · Contrast checker → · Palette generator →

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