#124A2E#124A2E

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

Color values

HEX#124A2E
RGBrgb(18, 74, 46)
HSLhsl(150, 61%, 18%)
HSVhsv(150, 76%, 29%)
CMYKcmyk(75.7%, 0%, 37.8%, 71%)
CIE-LABlab(27.36, -25.60, 11.63)
CIE-LCHlch(27.36, 28.12, 155.57°)
OKLaboklab(36.5% -0.0694 0.0293)
OKLCHoklch(36.5% 0.075 157.1)
XYZxyz(3.1911, 5.2231, 3.4242)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A2E #4A122E
analogous
#124A12 #124A2E #124A4A
triadic
#124A2E #2E124A #4A2E12
tetradic
#124A2E #12124A #4A122E #4A4A12
square
#124A2E #12124A #4A122E #4A4A12
split-complementary
#124A2E #4A124A #4A1212
monochromatic
#06190F #06190F #124A2E #1E7B4D #2AAC6B

Accessibility & contrast

On white

10.27
#124A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A2E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A2E#FFFFFF#000000##FFFFFF
##124A2E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124a2e;
/* rgb */ color: rgb(18, 74, 46);
/* oklch */ color: oklch(36.5% 0.075 157.1);
Tailwind
colors: {
  custom: {
    50: '#587d67',
    500: '#124a2e',
    950: '#000000',
  },
}
SCSS
$custom: #124a2e;
$custom-light: #587d67;
$custom-dark: #000000;
JSON
{
  "hex": "#124a2e",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 46
  },
  "hsl": {
    "h": 150,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36497,
    "c": 0.07537,
    "h": 157.1
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#124A2E
secondary
#83355C
accent
#4494E4
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #124A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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