#124C3B#124C3B

#124C3B is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.5% C 0.066 H 169.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#124C3B
RGBrgb(18, 76, 59)
HSLhsl(162, 62%, 18%)
HSVhsv(162, 76%, 30%)
CMYKcmyk(76.3%, 0%, 22.4%, 70.2%)
CIE-LABlab(28.41, -23.17, 4.82)
CIE-LCHlch(28.41, 23.66, 168.26°)
OKLaboklab(37.47% -0.0646 0.0123)
OKLCHoklch(37.47% 0.066 169.2)
XYZxyz(3.6229, 5.6128, 5.0293)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C3B #4C1223
analogous
#124C1E #124C3B #12404C
triadic
#124C3B #3B124C #4C3B12
tetradic
#124C3B #1E124C #4C1223 #404C12
square
#124C3B #1E124C #4C1223 #404C12
split-complementary
#124C3B #4C1240 #4C1E12
monochromatic
#061913 #061B15 #124C3B #1E7D61 #29AF88

Accessibility & contrast

On white

9.89
#124C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#124C3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C3B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C3B#FFFFFF#000000##FFFFFF
##124C3B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A463A
Deuteranopia (green-blind)
#42413C
Tritanopia (blue-blind)
#004D47
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124c3b;
/* rgb */ color: rgb(18, 76, 59);
/* oklch */ color: oklch(37.5% 0.066 169.2);
Tailwind
colors: {
  custom: {
    50: '#597e70',
    500: '#124c3b',
    950: '#000000',
  },
}
SCSS
$custom: #124c3b;
$custom-light: #597e70;
$custom-dark: #000000;
JSON
{
  "hex": "#124c3b",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 59
  },
  "hsl": {
    "h": 162.414,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37466,
    "c": 0.06578,
    "h": 169.2
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#124C3B
secondary
#85354C
accent
#4372E5
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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