#124F39#124F39

#124F39 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.3% C 0.072 H 164.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#124F39
RGBrgb(18, 79, 57)
HSLhsl(158, 63%, 19%)
HSVhsv(158, 77%, 31%)
CMYKcmyk(77.2%, 0%, 27.8%, 69%)
CIE-LABlab(29.45, -25.19, 7.56)
CIE-LCHlch(29.45, 26.30, 163.30°)
OKLaboklab(38.3% -0.0693 0.0193)
OKLCHoklch(38.3% 0.072 164.4)
XYZxyz(3.7835, 6.0155, 4.8318)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F39 #4F1228
analogous
#124F1B #124F39 #12474F
triadic
#124F39 #39124F #4F3912
tetradic
#124F39 #1B124F #4F1228 #474F12
square
#124F39 #1B124F #4F1228 #474F12
split-complementary
#124F39 #4F1247 #4F1B12
monochromatic
#061912 #071D15 #124F39 #1D815D #29B381

Accessibility & contrast

On white

9.53
#124F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#124F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F39
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F39#FFFFFF#000000##FFFFFF
##124F391.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4938
Deuteranopia (green-blind)
#45433A
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f39;
/* rgb */ color: rgb(18, 79, 57);
/* oklch */ color: oklch(38.3% 0.072 164.4);
Tailwind
colors: {
  custom: {
    50: '#5a816f',
    500: '#124f39',
    950: '#000000',
  },
}
SCSS
$custom: #124f39;
$custom-light: #5a816f;
$custom-dark: #000000;
JSON
{
  "hex": "#124f39",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 57
  },
  "hsl": {
    "h": 158.361,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38299,
    "c": 0.07195,
    "h": 164.4
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#124F39
secondary
#883553
accent
#427DE6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124F39

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

Preview Lab → · Contrast checker → · Palette generator →

#124F39 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva