#124F3B#124F3B

#124F3B is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.4% C 0.070 H 166.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#124F3B
RGBrgb(18, 79, 59)
HSLhsl(160, 63%, 19%)
HSVhsv(160, 77%, 31%)
CMYKcmyk(77.2%, 0%, 25.3%, 69%)
CIE-LABlab(29.50, -24.65, 6.36)
CIE-LCHlch(29.50, 25.46, 165.53°)
OKLaboklab(38.36% -0.0682 0.0163)
OKLCHoklch(38.36% 0.07 166.6)
XYZxyz(3.8344, 6.0359, 5.0998)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F3B #4F1226
analogous
#124F1D #124F3B #12454F
triadic
#124F3B #3B124F #4F3B12
tetradic
#124F3B #1D124F #4F1226 #454F12
square
#124F3B #1D124F #4F1226 #454F12
split-complementary
#124F3B #4F1245 #4F1D12
monochromatic
#061913 #071D16 #124F3B #1D8160 #29B385

Accessibility & contrast

On white

9.51
#124F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#124F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F3B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F3B#FFFFFF#000000##FFFFFF
##124F3B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493A
Deuteranopia (green-blind)
#45433C
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f3b;
/* rgb */ color: rgb(18, 79, 59);
/* oklch */ color: oklch(38.4% 0.070 166.6);
Tailwind
colors: {
  custom: {
    50: '#5a8171',
    500: '#124f3b',
    950: '#000000',
  },
}
SCSS
$custom: #124f3b;
$custom-light: #5a8171;
$custom-dark: #000000;
JSON
{
  "hex": "#124f3b",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 59
  },
  "hsl": {
    "h": 160.328,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38358,
    "c": 0.07012,
    "h": 166.6
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#124F3B
secondary
#883550
accent
#4278E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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