#124F3E#124F3E

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

Color values

HEX#124F3E
RGBrgb(18, 79, 62)
HSLhsl(163, 63%, 19%)
HSVhsv(163, 77%, 31%)
CMYKcmyk(77.2%, 0%, 21.5%, 69%)
CIE-LABlab(29.58, -23.81, 4.56)
CIE-LCHlch(29.58, 24.24, 169.15°)
OKLaboklab(38.45% -0.0665 0.0117)
OKLCHoklch(38.45% 0.068 170.1)
XYZxyz(3.9145, 6.0679, 5.5214)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F3E #4F1223
analogous
#124F20 #124F3E #12424F
triadic
#124F3E #3E124F #4F3E12
tetradic
#124F3E #20124F #4F1223 #424F12
square
#124F3E #20124F #4F1223 #424F12
split-complementary
#124F3E #4F1242 #4F2012
monochromatic
#061914 #071D17 #124F3E #1D8165 #29B38C

Accessibility & contrast

On white

9.49
#124F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F3E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F3E#FFFFFF#000000##FFFFFF
##124F3E1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493D
Deuteranopia (green-blind)
#44433F
Tritanopia (blue-blind)
#00504A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124f3e;
/* rgb */ color: rgb(18, 79, 62);
/* oklch */ color: oklch(38.5% 0.068 170.1);
Tailwind
colors: {
  custom: {
    50: '#5a8173',
    500: '#124f3e',
    950: '#000000',
  },
}
SCSS
$custom: #124f3e;
$custom-light: #5a8173;
$custom-dark: #000000;
JSON
{
  "hex": "#124f3e",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 62
  },
  "hsl": {
    "h": 163.279,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.06756,
    "h": 170.1
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#124F3E
secondary
#88354C
accent
#4270E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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