#124A31#124A31

#124A31 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.6% C 0.072 H 159.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#124A31
RGBrgb(18, 74, 49)
HSLhsl(153, 61%, 18%)
HSVhsv(153, 76%, 29%)
CMYKcmyk(75.7%, 0%, 33.8%, 71%)
CIE-LABlab(27.43, -24.87, 9.83)
CIE-LCHlch(27.43, 26.74, 158.44°)
OKLaboklab(36.58% -0.0678 0.0249)
OKLCHoklch(36.58% 0.072 159.8)
XYZxyz(3.2523, 5.2475, 3.7466)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A31 #4A122B
analogous
#124A15 #124A31 #12474A
triadic
#124A31 #31124A #4A3112
tetradic
#124A31 #15124A #4A122B #474A12
square
#124A31 #15124A #4A122B #474A12
split-complementary
#124A31 #4A1247 #4A1512
monochromatic
#061910 #061910 #124A31 #1E7B52 #2AAC72

Accessibility & contrast

On white

10.25
#124A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#124A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A31
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A31#FFFFFF#000000##FFFFFF
##124A311.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494430
Deuteranopia (green-blind)
#423F33
Tritanopia (blue-blind)
#004A43
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124a31;
/* rgb */ color: rgb(18, 74, 49);
/* oklch */ color: oklch(36.6% 0.072 159.8);
Tailwind
colors: {
  custom: {
    50: '#597d69',
    500: '#124a31',
    950: '#000000',
  },
}
SCSS
$custom: #124a31;
$custom-light: #597d69;
$custom-dark: #000000;
JSON
{
  "hex": "#124a31",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 49
  },
  "hsl": {
    "h": 153.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36575,
    "c": 0.07222,
    "h": 159.8
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#124A31
secondary
#833558
accent
#448BE4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #124A31

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

Preview Lab → · Contrast checker → · Palette generator →

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