#124A2A#124A2A

#124A2A is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.080 H 154.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#124A2A
RGBrgb(18, 74, 42)
HSLhsl(146, 61%, 18%)
HSVhsv(146, 76%, 29%)
CMYKcmyk(75.7%, 0%, 43.2%, 71%)
CIE-LABlab(27.28, -26.52, 14.02)
CIE-LCHlch(27.28, 30.00, 152.13°)
OKLaboklab(36.4% -0.0716 0.035)
OKLCHoklch(36.4% 0.08 154)
XYZxyz(3.1159, 5.1930, 3.0282)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A2A #4A1232
analogous
#164A12 #124A2A #124A46
triadic
#124A2A #2A124A #4A2A12
tetradic
#124A2A #12164A #4A1232 #4A4612
square
#124A2A #12164A #4A1232 #4A4612
split-complementary
#124A2A #46124A #4A1216
monochromatic
#06190E #06190E #124A2A #1E7B46 #2AAC62

Accessibility & contrast

On white

10.30
#124A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124A2A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A2A#FFFFFF#000000##FFFFFF
##124A2A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4328
Deuteranopia (green-blind)
#433E2C
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a2a;
/* rgb */ color: rgb(18, 74, 42);
/* oklch */ color: oklch(36.4% 0.080 154.0);
Tailwind
colors: {
  custom: {
    50: '#587d64',
    500: '#124a2a',
    950: '#000000',
  },
}
SCSS
$custom: #124a2a;
$custom-light: #587d64;
$custom-dark: #000000;
JSON
{
  "hex": "#124a2a",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 42
  },
  "hsl": {
    "h": 145.714,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.07971,
    "h": 154
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#124A2A
secondary
#833561
accent
#449FE4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #124A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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