#124837#124837

#124837 is a dark, moderate teal. Relative luminance 0.050; OKLCH L 36.1% C 0.063 H 168.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#124837
RGBrgb(18, 72, 55)
HSLhsl(161, 60%, 18%)
HSVhsv(161, 75%, 28%)
CMYKcmyk(75%, 0%, 23.6%, 71.8%)
CIE-LABlab(26.84, -22.29, 5.16)
CIE-LCHlch(26.84, 22.88, 166.96°)
OKLaboklab(36.15% -0.062 0.0132)
OKLCHoklch(36.15% 0.063 168)
XYZxyz(3.2560, 5.0388, 4.4147)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124837 #481223
analogous
#12481C #124837 #123E48
triadic
#124837 #371248 #483712
tetradic
#124837 #1C1248 #481223 #3E4812
square
#124837 #1C1248 #481223 #3E4812
split-complementary
#124837 #48123E #481C12
monochromatic
#061813 #061813 #124837 #1E795C #2AAA82

Accessibility & contrast

On white

10.46
#124837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124837
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124837#FFFFFF#000000##FFFFFF
##1248371.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464336
Deuteranopia (green-blind)
#3F3D38
Tritanopia (blue-blind)
#004843
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124837;
/* rgb */ color: rgb(18, 72, 55);
/* oklch */ color: oklch(36.1% 0.063 168.0);
Tailwind
colors: {
  custom: {
    50: '#587b6d',
    500: '#124837',
    950: '#000000',
  },
}
SCSS
$custom: #124837;
$custom-light: #587b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#124837",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 55
  },
  "hsl": {
    "h": 161.111,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.06338,
    "h": 168
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#124837
secondary
#81354D
accent
#4577E3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #124837

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

Preview Lab → · Contrast checker → · Palette generator →

#124837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva