#124F3A#124F3A

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

Color values

HEX#124F3A
RGBrgb(18, 79, 58)
HSLhsl(159, 63%, 19%)
HSVhsv(159, 77%, 31%)
CMYKcmyk(77.2%, 0%, 26.6%, 69%)
CIE-LABlab(29.48, -24.92, 6.96)
CIE-LCHlch(29.48, 25.87, 164.40°)
OKLaboklab(38.33% -0.0688 0.0178)
OKLCHoklch(38.33% 0.071 165.5)
XYZxyz(3.8087, 6.0256, 4.9645)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F3A #4F1227
analogous
#124F1C #124F3A #12464F
triadic
#124F3A #3A124F #4F3A12
tetradic
#124F3A #1C124F #4F1227 #464F12
square
#124F3A #1C124F #4F1227 #464F12
split-complementary
#124F3A #4F1246 #4F1C12
monochromatic
#061912 #071D15 #124F3A #1D815F #29B383

Accessibility & contrast

On white

9.52
#124F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F3A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F3A#FFFFFF#000000##FFFFFF
##124F3A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124f3a;
/* rgb */ color: rgb(18, 79, 58);
/* oklch */ color: oklch(38.3% 0.071 165.5);
Tailwind
colors: {
  custom: {
    50: '#5a8170',
    500: '#124f3a',
    950: '#000000',
  },
}
SCSS
$custom: #124f3a;
$custom-light: #5a8170;
$custom-dark: #000000;
JSON
{
  "hex": "#124f3a",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 58
  },
  "hsl": {
    "h": 159.344,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38328,
    "c": 0.07102,
    "h": 165.5
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#124F3A
secondary
#883551
accent
#427AE6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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