#125434#125434

#125434 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.085 H 157.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#125434
RGBrgb(18, 84, 52)
HSLhsl(151, 65%, 20%)
HSVhsv(151, 79%, 33%)
CMYKcmyk(78.6%, 0%, 38.1%, 67.1%)
CIE-LABlab(31.15, -28.76, 13.02)
CIE-LCHlch(31.15, 31.57, 155.64°)
OKLaboklab(39.66% -0.0779 0.0328)
OKLCHoklch(39.66% 0.085 157.2)
XYZxyz(4.0392, 6.7167, 4.3317)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125434 #541232
analogous
#125413 #125434 #125354
triadic
#125434 #341254 #543412
tetradic
#125434 #131254 #541232 #535412
square
#125434 #131254 #541232 #535412
split-complementary
#125434 #541253 #541312
monochromatic
#051910 #072215 #125434 #1D8653 #28B972

Accessibility & contrast

On white

8.96
#125434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125434
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125434#FFFFFF#000000##FFFFFF
##1254341.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D32
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#00534C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125434;
/* rgb */ color: rgb(18, 84, 52);
/* oklch */ color: oklch(39.7% 0.085 157.2);
Tailwind
colors: {
  custom: {
    50: '#5b856b',
    500: '#125434',
    950: '#000000',
  },
}
SCSS
$custom: #125434;
$custom-light: #5b856b;
$custom-dark: #000000;
JSON
{
  "hex": "#125434",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 52
  },
  "hsl": {
    "h": 150.909,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.08451,
    "h": 157.2
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#125434
secondary
#8D3560
accent
#4091E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125434

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

Preview Lab → · Contrast checker → · Palette generator →

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