#124F3C#124F3C

#124F3C is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.4% C 0.069 H 167.7°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#124F3C
RGBrgb(18, 79, 60)
HSLhsl(161, 63%, 19%)
HSVhsv(161, 77%, 31%)
CMYKcmyk(77.2%, 0%, 24.1%, 69%)
CIE-LABlab(29.53, -24.37, 5.76)
CIE-LCHlch(29.53, 25.04, 166.70°)
OKLaboklab(38.39% -0.0676 0.0147)
OKLCHoklch(38.39% 0.069 167.7)
XYZxyz(3.8606, 6.0464, 5.2377)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F3C #4F1225
analogous
#124F1E #124F3C #12444F
triadic
#124F3C #3C124F #4F3C12
tetradic
#124F3C #1E124F #4F1225 #444F12
square
#124F3C #1E124F #4F1225 #444F12
split-complementary
#124F3C #4F1244 #4F1E12
monochromatic
#061913 #071D16 #124F3C #1D8162 #29B388

Accessibility & contrast

On white

9.50
#124F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#124F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F3C
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F3C#FFFFFF#000000##FFFFFF
##124F3C1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493B
Deuteranopia (green-blind)
#45433D
Tritanopia (blue-blind)
#004F4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124f3c;
/* rgb */ color: rgb(18, 79, 60);
/* oklch */ color: oklch(38.4% 0.069 167.7);
Tailwind
colors: {
  custom: {
    50: '#5a8171',
    500: '#124f3c',
    950: '#000000',
  },
}
SCSS
$custom: #124f3c;
$custom-light: #5a8171;
$custom-dark: #000000;
JSON
{
  "hex": "#124f3c",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 60
  },
  "hsl": {
    "h": 161.311,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.06924,
    "h": 167.7
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#124F3C
secondary
#88354F
accent
#4275E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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