#125234#125234

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

Color values

HEX#125234
RGBrgb(18, 82, 52)
HSLhsl(152, 64%, 20%)
HSVhsv(152, 78%, 32%)
CMYKcmyk(78%, 0%, 36.6%, 67.8%)
CIE-LABlab(30.43, -27.86, 12.04)
CIE-LCHlch(30.43, 30.35, 156.63°)
OKLaboklab(39.06% -0.0756 0.0304)
OKLCHoklch(39.06% 0.081 158.1)
XYZxyz(3.8862, 6.4107, 4.2807)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125234 #521230
analogous
#125214 #125234 #125052
triadic
#125234 #341252 #523412
tetradic
#125234 #141252 #521230 #505212
square
#125234 #141252 #521230 #505212
split-complementary
#125234 #521250 #521412
monochromatic
#061910 #072014 #125234 #1D8454 #28B674

Accessibility & contrast

On white

9.20
#125234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125234
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125234#FFFFFF#000000##FFFFFF
##1252341.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #125234;
/* rgb */ color: rgb(18, 82, 52);
/* oklch */ color: oklch(39.1% 0.081 158.1);
Tailwind
colors: {
  custom: {
    50: '#5a836b',
    500: '#125234',
    950: '#000000',
  },
}
SCSS
$custom: #125234;
$custom-light: #5a836b;
$custom-dark: #000000;
JSON
{
  "hex": "#125234",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 52
  },
  "hsl": {
    "h": 151.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.08147,
    "h": 158.1
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#125234
secondary
#8B355D
accent
#418FE7
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125234

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

Preview Lab → · Contrast checker → · Palette generator →

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