#124F36#124F36

#124F36 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.2% C 0.075 H 161.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#124F36
RGBrgb(18, 79, 54)
HSLhsl(155, 63%, 19%)
HSVhsv(155, 77%, 31%)
CMYKcmyk(77.2%, 0%, 31.6%, 69%)
CIE-LABlab(29.38, -25.97, 9.35)
CIE-LCHlch(29.38, 27.61, 160.20°)
OKLaboklab(38.21% -0.071 0.0238)
OKLCHoklch(38.21% 0.075 161.5)
XYZxyz(3.7109, 5.9865, 4.4492)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F36 #4F122B
analogous
#124F18 #124F36 #124A4F
triadic
#124F36 #36124F #4F3612
tetradic
#124F36 #18124F #4F122B #4A4F12
square
#124F36 #18124F #4F122B #4A4F12
split-complementary
#124F36 #4F124A #4F1812
monochromatic
#061911 #071D14 #124F36 #1D8158 #29B37A

Accessibility & contrast

On white

9.56
#124F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#124F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F36
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F36#FFFFFF#000000##FFFFFF
##124F361.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4935
Deuteranopia (green-blind)
#464338
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f36;
/* rgb */ color: rgb(18, 79, 54);
/* oklch */ color: oklch(38.2% 0.075 161.5);
Tailwind
colors: {
  custom: {
    50: '#5a816d',
    500: '#124f36',
    950: '#000000',
  },
}
SCSS
$custom: #124f36;
$custom-light: #5a816d;
$custom-dark: #000000;
JSON
{
  "hex": "#124f36",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 54
  },
  "hsl": {
    "h": 155.41,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.07486,
    "h": 161.5
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#124F36
secondary
#883557
accent
#4285E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124F36

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

Preview Lab → · Contrast checker → · Palette generator →

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