#124B1A#124B1A

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

Color values

HEX#124B1A
RGBrgb(18, 75, 26)
HSLhsl(128, 61%, 18%)
HSVhsv(128, 76%, 29%)
CMYKcmyk(76%, 0%, 65.3%, 70.6%)
CIE-LABlab(27.39, -29.88, 23.57)
CIE-LCHlch(27.39, 38.06, 141.73°)
OKLaboklab(36.41% -0.0807 0.0556)
OKLCHoklch(36.41% 0.098 145.4)
XYZxyz(2.9518, 5.2350, 1.8320)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B1A #4B1243
analogous
#264B12 #124B1A #124B36
triadic
#124B1A #1A124B #4B1A12
tetradic
#124B1A #12264B #4B1243 #4B3612
square
#124B1A #12264B #4B1243 #4B3612
split-complementary
#124B1A #36124B #4B1226
monochromatic
#061909 #061A09 #124B1A #1E7C2B #2AAE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124B1A#FFFFFF#000000##FFFFFF
##124B1A1.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)
#4C4415
Deuteranopia (green-blind)
#463F1E
Tritanopia (blue-blind)
#014940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b1a;
/* rgb */ color: rgb(18, 75, 26);
/* oklch */ color: oklch(36.4% 0.098 145.4);
Tailwind
colors: {
  custom: {
    50: '#597e58',
    500: '#124b1a',
    950: '#000000',
  },
}
SCSS
$custom: #124b1a;
$custom-light: #597e58;
$custom-dark: #000000;
JSON
{
  "hex": "#124b1a",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 26
  },
  "hsl": {
    "h": 128.421,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36413,
    "c": 0.09804,
    "h": 145.4
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#124B1A
secondary
#843579
accent
#43CEE4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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