#124B31#124B31

#124B31 is a dark, moderate teal. Relative luminance 0.054; OKLCH L 36.9% C 0.074 H 159.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#124B31
RGBrgb(18, 75, 49)
HSLhsl(153, 61%, 18%)
HSVhsv(153, 76%, 29%)
CMYKcmyk(76%, 0%, 34.7%, 70.6%)
CIE-LABlab(27.80, -25.34, 10.33)
CIE-LCHlch(27.80, 27.37, 157.82°)
OKLaboklab(36.88% -0.069 0.0262)
OKLCHoklch(36.88% 0.074 159.2)
XYZxyz(3.3196, 5.3821, 3.7690)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B31 #4B122C
analogous
#124B15 #124B31 #12484B
triadic
#124B31 #31124B #4B3112
tetradic
#124B31 #15124B #4B122C #484B12
square
#124B31 #15124B #4B122C #484B12
split-complementary
#124B31 #4B1248 #4B1512
monochromatic
#061910 #061A11 #124B31 #1E7C51 #2AAE71

Accessibility & contrast

On white

10.11
#124B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B31
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B31#FFFFFF#000000##FFFFFF
##124B311.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452F
Deuteranopia (green-blind)
#433F33
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124b31;
/* rgb */ color: rgb(18, 75, 49);
/* oklch */ color: oklch(36.9% 0.074 159.2);
Tailwind
colors: {
  custom: {
    50: '#597e69',
    500: '#124b31',
    950: '#000000',
  },
}
SCSS
$custom: #124b31;
$custom-light: #597e69;
$custom-dark: #000000;
JSON
{
  "hex": "#124b31",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 49
  },
  "hsl": {
    "h": 152.632,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.07378,
    "h": 159.2
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#124B31
secondary
#843559
accent
#438DE4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124B31

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

Preview Lab → · Contrast checker → · Palette generator →

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