#125031#125031

#125031 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.4% C 0.082 H 156.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#125031
RGBrgb(18, 80, 49)
HSLhsl(150, 63%, 19%)
HSVhsv(150, 78%, 31%)
CMYKcmyk(77.5%, 0%, 38.8%, 68.6%)
CIE-LABlab(29.63, -27.66, 12.82)
CIE-LCHlch(29.63, 30.49, 155.13°)
OKLaboklab(38.39% -0.0749 0.0322)
OKLCHoklch(38.39% 0.082 156.7)
XYZxyz(3.6721, 6.0873, 3.8866)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125031 #501231
analogous
#125012 #125031 #125050
triadic
#125031 #311250 #503112
tetradic
#125031 #121250 #501231 #505012
square
#125031 #121250 #501231 #505012
split-complementary
#125031 #501250 #501212
monochromatic
#06190F #071E12 #125031 #1D8250 #28B46E

Accessibility & contrast

On white

9.47
#125031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#125031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125031
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125031#FFFFFF#000000##FFFFFF
##1250311.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492F
Deuteranopia (green-blind)
#484433
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #125031;
/* rgb */ color: rgb(18, 80, 49);
/* oklch */ color: oklch(38.4% 0.082 156.7);
Tailwind
colors: {
  custom: {
    50: '#5a8269',
    500: '#125031',
    950: '#000000',
  },
}
SCSS
$custom: #125031;
$custom-light: #5a8269;
$custom-dark: #000000;
JSON
{
  "hex": "#125031",
  "rgb": {
    "r": 18,
    "g": 80,
    "b": 49
  },
  "hsl": {
    "h": 150,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.08154,
    "h": 156.7
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#125031
secondary
#89355F
accent
#4194E6
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #125031

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

Preview Lab → · Contrast checker → · Palette generator →

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