#124D31#124D31

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

Color values

HEX#124D31
RGBrgb(18, 77, 49)
HSLhsl(152, 62%, 19%)
HSVhsv(152, 77%, 30%)
CMYKcmyk(76.6%, 0%, 36.4%, 69.8%)
CIE-LABlab(28.53, -26.28, 11.33)
CIE-LCHlch(28.53, 28.62, 156.67°)
OKLaboklab(37.48% -0.0714 0.0286)
OKLCHoklch(37.48% 0.077 158.1)
XYZxyz(3.4574, 5.6577, 3.8150)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D31 #4D122E
analogous
#124D13 #124D31 #124B4D
triadic
#124D31 #31124D #4D3112
tetradic
#124D31 #13124D #4D122E #4B4D12
square
#124D31 #13124D #4D122E #4B4D12
split-complementary
#124D31 #4D124B #4D1312
monochromatic
#061910 #061B11 #124D31 #1E7F51 #29B070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124D31#FFFFFF#000000##FFFFFF
##124D311.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)
#4C462F
Deuteranopia (green-blind)
#454133
Tritanopia (blue-blind)
#004C46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d31;
/* rgb */ color: rgb(18, 77, 49);
/* oklch */ color: oklch(37.5% 0.077 158.1);
Tailwind
colors: {
  custom: {
    50: '#597f69',
    500: '#124d31',
    950: '#000000',
  },
}
SCSS
$custom: #124d31;
$custom-light: #597f69;
$custom-dark: #000000;
JSON
{
  "hex": "#124d31",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 49
  },
  "hsl": {
    "h": 151.525,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.07689,
    "h": 158.1
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#124D31
secondary
#86355B
accent
#4390E5
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124D31

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

Preview Lab → · Contrast checker → · Palette generator →

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