#125F4F#125F4F

#125F4F is a dark, moderate teal. Relative luminance 0.089; OKLCH L 43.7% C 0.076 H 174.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#125F4F
RGBrgb(18, 95, 79)
HSLhsl(168, 68%, 22%)
HSVhsv(168, 81%, 37%)
CMYKcmyk(81.1%, 0%, 16.8%, 62.7%)
CIE-LABlab(35.75, -26.74, 2.73)
CIE-LCHlch(35.75, 26.88, 174.18°)
OKLaboklab(43.65% -0.0758 0.0068)
OKLCHoklch(43.65% 0.076 174.9)
XYZxyz(5.7522, 8.8768, 8.8059)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F4F #5F1222
analogous
#125F28 #125F4F #12495F
triadic
#125F4F #4F125F #5F4F12
tetradic
#125F4F #28125F #5F1222 #495F12
square
#125F4F #28125F #5F1222 #495F12
split-complementary
#125F4F #5F1249 #5F2812
monochromatic
#051A15 #082C24 #125F4F #1C927A #25C6A5

Accessibility & contrast

On white

7.57
#125F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#125F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F4F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F4F#FFFFFF#000000##FFFFFF
##125F4F1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584E
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#00605A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #125f4f;
/* rgb */ color: rgb(18, 95, 79);
/* oklch */ color: oklch(43.7% 0.076 174.9);
Tailwind
colors: {
  custom: {
    50: '#5f8d80',
    500: '#125f4f',
    950: '#000000',
  },
}
SCSS
$custom: #125f4f;
$custom-light: #5f8d80;
$custom-dark: #000000;
JSON
{
  "hex": "#125f4f",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 79
  },
  "hsl": {
    "h": 167.532,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43651,
    "c": 0.07609,
    "h": 174.9
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#125F4F
secondary
#97364A
accent
#3D61EB
background
#F5F8F7
surface
#EAF0EE
border
#C6CBC9
text
#050C0A
muted
#797D7C

Preview Lab

Preview with #125F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#125F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva