#124A2F#124A2F

#124A2F is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.5% C 0.074 H 158.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#124A2F
RGBrgb(18, 74, 47)
HSLhsl(151, 61%, 18%)
HSVhsv(151, 76%, 29%)
CMYKcmyk(75.7%, 0%, 36.5%, 71%)
CIE-LABlab(27.38, -25.36, 11.03)
CIE-LCHlch(27.38, 27.66, 156.49°)
OKLaboklab(36.52% -0.0689 0.0279)
OKLCHoklch(36.52% 0.074 158)
XYZxyz(3.2110, 5.2310, 3.5292)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A2F #4A122D
analogous
#124A13 #124A2F #12494A
triadic
#124A2F #2F124A #4A2F12
tetradic
#124A2F #13124A #4A122D #494A12
square
#124A2F #13124A #4A122D #494A12
split-complementary
#124A2F #4A1249 #4A1312
monochromatic
#061910 #061910 #124A2F #1E7B4E #2AAC6E

Accessibility & contrast

On white

10.26
#124A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#124A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A2F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A2F#FFFFFF#000000##FFFFFF
##124A2F1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442D
Deuteranopia (green-blind)
#423F31
Tritanopia (blue-blind)
#004943
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124a2f;
/* rgb */ color: rgb(18, 74, 47);
/* oklch */ color: oklch(36.5% 0.074 158.0);
Tailwind
colors: {
  custom: {
    50: '#587d67',
    500: '#124a2f',
    950: '#000000',
  },
}
SCSS
$custom: #124a2f;
$custom-light: #587d67;
$custom-dark: #000000;
JSON
{
  "hex": "#124a2f",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 151.071,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36522,
    "c": 0.07431,
    "h": 158
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#124A2F
secondary
#83355B
accent
#4491E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #124A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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