#124F3F#124F3F

#124F3F is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.5% C 0.067 H 171.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#124F3F
RGBrgb(18, 79, 63)
HSLhsl(164, 63%, 19%)
HSVhsv(164, 77%, 31%)
CMYKcmyk(77.2%, 0%, 20.3%, 69%)
CIE-LABlab(29.61, -23.52, 3.97)
CIE-LCHlch(29.61, 23.85, 170.43°)
OKLaboklab(38.48% -0.066 0.0101)
OKLCHoklch(38.48% 0.067 171.3)
XYZxyz(3.9422, 6.0790, 5.6673)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F3F #4F1222
analogous
#124F21 #124F3F #12414F
triadic
#124F3F #3F124F #4F3F12
tetradic
#124F3F #21124F #4F1222 #414F12
square
#124F3F #21124F #4F1222 #414F12
split-complementary
#124F3F #4F1241 #4F2112
monochromatic
#061914 #071D17 #124F3F #1D8167 #29B38E

Accessibility & contrast

On white

9.48
#124F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#124F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F3F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F3F#FFFFFF#000000##FFFFFF
##124F3F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C493E
Deuteranopia (green-blind)
#444340
Tritanopia (blue-blind)
#00504A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124f3f;
/* rgb */ color: rgb(18, 79, 63);
/* oklch */ color: oklch(38.5% 0.067 171.3);
Tailwind
colors: {
  custom: {
    50: '#5a8174',
    500: '#124f3f',
    950: '#000000',
  },
}
SCSS
$custom: #124f3f;
$custom-light: #5a8174;
$custom-dark: #000000;
JSON
{
  "hex": "#124f3f",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 63
  },
  "hsl": {
    "h": 164.262,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.06677,
    "h": 171.3
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#124F3F
secondary
#88354B
accent
#426DE6
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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