#124F38#124F38

#124F38 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.3% C 0.073 H 163.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#124F38
RGBrgb(18, 79, 56)
HSLhsl(157, 63%, 19%)
HSVhsv(157, 77%, 31%)
CMYKcmyk(77.2%, 0%, 29.1%, 69%)
CIE-LABlab(29.43, -25.46, 8.16)
CIE-LCHlch(29.43, 26.73, 162.24°)
OKLaboklab(38.27% -0.0699 0.0208)
OKLCHoklch(38.27% 0.073 163.4)
XYZxyz(3.7588, 6.0057, 4.7017)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F38 #4F1229
analogous
#124F1A #124F38 #12484F
triadic
#124F38 #38124F #4F3812
tetradic
#124F38 #1A124F #4F1229 #484F12
square
#124F38 #1A124F #4F1229 #484F12
split-complementary
#124F38 #4F1248 #4F1A12
monochromatic
#061912 #071D15 #124F38 #1D815B #29B37F

Accessibility & contrast

On white

9.54
#124F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#124F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F38
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F38#FFFFFF#000000##FFFFFF
##124F381.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4937
Deuteranopia (green-blind)
#464339
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f38;
/* rgb */ color: rgb(18, 79, 56);
/* oklch */ color: oklch(38.3% 0.073 163.4);
Tailwind
colors: {
  custom: {
    50: '#5a816e',
    500: '#124f38',
    950: '#000000',
  },
}
SCSS
$custom: #124f38;
$custom-light: #5a816e;
$custom-dark: #000000;
JSON
{
  "hex": "#124f38",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 56
  },
  "hsl": {
    "h": 157.377,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3827,
    "c": 0.0729,
    "h": 163.4
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#124F38
secondary
#883554
accent
#4280E6
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #124F38

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

Preview Lab → · Contrast checker → · Palette generator →

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