#124E3B#124E3B

#124E3B is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.1% C 0.069 H 167.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#124E3B
RGBrgb(18, 78, 59)
HSLhsl(161, 63%, 19%)
HSVhsv(161, 77%, 31%)
CMYKcmyk(76.9%, 0%, 24.4%, 69.4%)
CIE-LABlab(29.14, -24.16, 5.85)
CIE-LCHlch(29.14, 24.86, 166.39°)
OKLaboklab(38.06% -0.067 0.015)
OKLCHoklch(38.06% 0.069 167.4)
XYZxyz(3.7628, 5.8927, 5.0759)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E3B #4E1225
analogous
#124E1D #124E3B #12434E
triadic
#124E3B #3B124E #4E3B12
tetradic
#124E3B #1D124E #4E1225 #434E12
square
#124E3B #1D124E #4E1225 #434E12
split-complementary
#124E3B #4E1243 #4E1D12
monochromatic
#061913 #071C15 #124E3B #1D8061 #29B186

Accessibility & contrast

On white

9.64
#124E3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#124E3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E3B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E3B#FFFFFF#000000##FFFFFF
##124E3B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C483A
Deuteranopia (green-blind)
#44423C
Tritanopia (blue-blind)
#004E49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124e3b;
/* rgb */ color: rgb(18, 78, 59);
/* oklch */ color: oklch(38.1% 0.069 167.4);
Tailwind
colors: {
  custom: {
    50: '#5a8070',
    500: '#124e3b',
    950: '#000000',
  },
}
SCSS
$custom: #124e3b;
$custom-light: #5a8070;
$custom-dark: #000000;
JSON
{
  "hex": "#124e3b",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 59
  },
  "hsl": {
    "h": 161,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.06867,
    "h": 167.4
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#124E3B
secondary
#87354F
accent
#4276E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124E3B

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

Preview Lab → · Contrast checker → · Palette generator →

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