#124C3F#124C3F

#124C3F is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.6% C 0.063 H 174.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#124C3F
RGBrgb(18, 76, 63)
HSLhsl(167, 62%, 18%)
HSVhsv(167, 76%, 30%)
CMYKcmyk(76.3%, 0%, 17.1%, 70.2%)
CIE-LABlab(28.53, -22.01, 2.41)
CIE-LCHlch(28.53, 22.14, 173.75°)
OKLaboklab(37.6% -0.0624 0.006)
OKLCHoklch(37.6% 0.063 174.5)
XYZxyz(3.7306, 5.6559, 5.5968)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C3F #4C121F
analogous
#124C22 #124C3F #123C4C
triadic
#124C3F #3F124C #4C3F12
tetradic
#124C3F #22124C #4C121F #3C4C12
square
#124C3F #22124C #4C121F #3C4C12
split-complementary
#124C3F #4C123C #4C2212
monochromatic
#061915 #061B16 #124C3F #1E7D68 #29AF91

Accessibility & contrast

On white

9.85
#124C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C3F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C3F#FFFFFF#000000##FFFFFF
##124C3F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49473E
Deuteranopia (green-blind)
#414140
Tritanopia (blue-blind)
#004D48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124c3f;
/* rgb */ color: rgb(18, 76, 63);
/* oklch */ color: oklch(37.6% 0.063 174.5);
Tailwind
colors: {
  custom: {
    50: '#5a7e74',
    500: '#124c3f',
    950: '#000000',
  },
}
SCSS
$custom: #124c3f;
$custom-light: #5a7e74;
$custom-dark: #000000;
JSON
{
  "hex": "#124c3f",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 63
  },
  "hsl": {
    "h": 166.552,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37596,
    "c": 0.0627,
    "h": 174.5
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#124C3F
secondary
#853547
accent
#4367E5
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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