#124831#124831

#124831 is a dark, moderate teal. Relative luminance 0.050; OKLCH L 36.0% C 0.069 H 161.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#124831
RGBrgb(18, 72, 49)
HSLhsl(154, 60%, 18%)
HSVhsv(154, 75%, 28%)
CMYKcmyk(75%, 0%, 31.9%, 71.8%)
CIE-LABlab(26.69, -23.90, 8.81)
CIE-LCHlch(26.69, 25.48, 159.77°)
OKLaboklab(35.97% -0.0653 0.0224)
OKLCHoklch(35.97% 0.069 161.1)
XYZxyz(3.1209, 4.9847, 3.7028)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124831 #481229
analogous
#124816 #124831 #124448
triadic
#124831 #311248 #483112
tetradic
#124831 #161248 #481229 #444812
square
#124831 #161248 #481229 #444812
split-complementary
#124831 #481244 #481612
monochromatic
#061811 #061811 #124831 #1E7952 #2AAA74

Accessibility & contrast

On white

10.52
#124831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#124831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124831
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124831#FFFFFF#000000##FFFFFF
##1248311.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474230
Deuteranopia (green-blind)
#403D32
Tritanopia (blue-blind)
#004842
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124831;
/* rgb */ color: rgb(18, 72, 49);
/* oklch */ color: oklch(36.0% 0.069 161.1);
Tailwind
colors: {
  custom: {
    50: '#587b69',
    500: '#124831',
    950: '#000000',
  },
}
SCSS
$custom: #124831;
$custom-light: #587b69;
$custom-dark: #000000;
JSON
{
  "hex": "#124831",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 49
  },
  "hsl": {
    "h": 154.444,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35969,
    "c": 0.06908,
    "h": 161.1
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#124831
secondary
#813555
accent
#4588E3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #124831

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

Preview Lab → · Contrast checker → · Palette generator →

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