#124F31#124F31

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

Color values

HEX#124F31
RGBrgb(18, 79, 49)
HSLhsl(150, 63%, 19%)
HSVhsv(150, 77%, 31%)
CMYKcmyk(77.2%, 0%, 38%, 69%)
CIE-LABlab(29.27, -27.20, 12.33)
CIE-LCHlch(29.27, 29.87, 155.62°)
OKLaboklab(38.09% -0.0737 0.031)
OKLCHoklch(38.09% 0.08 157.2)
XYZxyz(3.5995, 5.9419, 3.8623)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F31 #4F1230
analogous
#124F13 #124F31 #124F4F
triadic
#124F31 #31124F #4F3112
tetradic
#124F31 #13124F #4F1230 #4F4F12
square
#124F31 #13124F #4F1230 #4F4F12
split-complementary
#124F31 #4F124F #4F1312
monochromatic
#06190F #071D12 #124F31 #1D8150 #29B36F

Accessibility & contrast

On white

9.60
#124F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#124F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F31
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F31#FFFFFF#000000##FFFFFF
##124F311.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482F
Deuteranopia (green-blind)
#474333
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f31;
/* rgb */ color: rgb(18, 79, 49);
/* oklch */ color: oklch(38.1% 0.080 157.2);
Tailwind
colors: {
  custom: {
    50: '#5a8169',
    500: '#124f31',
    950: '#000000',
  },
}
SCSS
$custom: #124f31;
$custom-light: #5a8169;
$custom-dark: #000000;
JSON
{
  "hex": "#124f31",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 49
  },
  "hsl": {
    "h": 150.492,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.08,
    "h": 157.2
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#124F31
secondary
#88355E
accent
#4293E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124F31

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

Preview Lab → · Contrast checker → · Palette generator →

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