#124E3F#124E3F

#124E3F is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.2% C 0.065 H 172.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#124E3F
RGBrgb(18, 78, 63)
HSLhsl(165, 63%, 19%)
HSVhsv(165, 77%, 31%)
CMYKcmyk(76.9%, 0%, 19.2%, 69.4%)
CIE-LABlab(29.25, -23.02, 3.45)
CIE-LCHlch(29.25, 23.28, 171.48°)
OKLaboklab(38.19% -0.0648 0.0088)
OKLCHoklch(38.19% 0.065 172.3)
XYZxyz(3.8706, 5.9358, 5.6434)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E3F #4E1221
analogous
#124E21 #124E3F #123F4E
triadic
#124E3F #3F124E #4E3F12
tetradic
#124E3F #21124E #4E1221 #3F4E12
square
#124E3F #21124E #4E1221 #3F4E12
split-complementary
#124E3F #4E123F #4E2112
monochromatic
#061914 #071C17 #124E3F #1D8067 #29B18F

Accessibility & contrast

On white

9.60
#124E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#124E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E3F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E3F#FFFFFF#000000##FFFFFF
##124E3F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B483E
Deuteranopia (green-blind)
#434240
Tritanopia (blue-blind)
#004F4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124e3f;
/* rgb */ color: rgb(18, 78, 63);
/* oklch */ color: oklch(38.2% 0.065 172.3);
Tailwind
colors: {
  custom: {
    50: '#5a8074',
    500: '#124e3f',
    950: '#000000',
  },
}
SCSS
$custom: #124e3f;
$custom-light: #5a8074;
$custom-dark: #000000;
JSON
{
  "hex": "#124e3f",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 63
  },
  "hsl": {
    "h": 165,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.06539,
    "h": 172.3
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#124E3F
secondary
#873549
accent
#426BE6
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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