#124F3D#124F3D

#124F3D is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.4% C 0.068 H 168.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#124F3D
RGBrgb(18, 79, 61)
HSLhsl(162, 63%, 19%)
HSVhsv(162, 77%, 31%)
CMYKcmyk(77.2%, 0%, 22.8%, 69%)
CIE-LABlab(29.56, -24.09, 5.16)
CIE-LCHlch(29.56, 24.64, 167.91°)
OKLaboklab(38.42% -0.0671 0.0132)
OKLCHoklch(38.42% 0.068 168.9)
XYZxyz(3.8873, 6.0570, 5.3782)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F3D #4F1224
analogous
#124F1F #124F3D #12434F
triadic
#124F3D #3D124F #4F3D12
tetradic
#124F3D #1F124F #4F1224 #434F12
square
#124F3D #1F124F #4F1224 #434F12
split-complementary
#124F3D #4F1243 #4F1F12
monochromatic
#061913 #071D17 #124F3D #1D8163 #29B38A

Accessibility & contrast

On white

9.50
#124F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124F3D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F3D#FFFFFF#000000##FFFFFF
##124F3D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493C
Deuteranopia (green-blind)
#45433E
Tritanopia (blue-blind)
#004F4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #124f3d;
/* rgb */ color: rgb(18, 79, 61);
/* oklch */ color: oklch(38.4% 0.068 168.9);
Tailwind
colors: {
  custom: {
    50: '#5a8172',
    500: '#124f3d',
    950: '#000000',
  },
}
SCSS
$custom: #124f3d;
$custom-light: #5a8172;
$custom-dark: #000000;
JSON
{
  "hex": "#124f3d",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 61
  },
  "hsl": {
    "h": 162.295,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.06839,
    "h": 168.9
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#124F3D
secondary
#88354D
accent
#4272E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #124F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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