#124A1A#124A1A

#124A1A is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.097 H 145.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#124A1A
RGBrgb(18, 74, 26)
HSLhsl(129, 61%, 18%)
HSVhsv(129, 76%, 29%)
CMYKcmyk(75.7%, 0%, 64.9%, 71%)
CIE-LABlab(27.02, -29.47, 23.13)
CIE-LCHlch(27.02, 37.46, 141.87°)
OKLaboklab(36.1% -0.0796 0.0547)
OKLCHoklch(36.1% 0.097 145.5)
XYZxyz(2.8845, 5.1004, 1.8095)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A1A #4A1242
analogous
#264A12 #124A1A #124A36
triadic
#124A1A #1A124A #4A1A12
tetradic
#124A1A #12264A #4A1242 #4A3612
square
#124A1A #12264A #4A1242 #4A3612
split-complementary
#124A1A #36124A #4A1226
monochromatic
#061909 #061909 #124A1A #1E7B2B #2AAC3D

Accessibility & contrast

On white

10.40
#124A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#124A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A1A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A1A#FFFFFF#000000##FFFFFF
##124A1A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4315
Deuteranopia (green-blind)
#453E1E
Tritanopia (blue-blind)
#024840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a1a;
/* rgb */ color: rgb(18, 74, 26);
/* oklch */ color: oklch(36.1% 0.097 145.5);
Tailwind
colors: {
  custom: {
    50: '#597d58',
    500: '#124a1a',
    950: '#000000',
  },
}
SCSS
$custom: #124a1a;
$custom-light: #597d58;
$custom-dark: #000000;
JSON
{
  "hex": "#124a1a",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 26
  },
  "hsl": {
    "h": 128.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.09658,
    "h": 145.5
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#124A1A
secondary
#833578
accent
#44CDE4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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