#124C1A#124C1A

#124C1A is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.099 H 145.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#124C1A
RGBrgb(18, 76, 26)
HSLhsl(128, 62%, 18%)
HSVhsv(128, 76%, 30%)
CMYKcmyk(76.3%, 0%, 65.8%, 70.2%)
CIE-LABlab(27.77, -30.29, 24.00)
CIE-LCHlch(27.77, 38.65, 141.61°)
OKLaboklab(36.72% -0.0818 0.0566)
OKLCHoklch(36.72% 0.099 145.3)
XYZxyz(3.0201, 5.3717, 1.8548)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C1A #4C1244
analogous
#274C12 #124C1A #124C37
triadic
#124C1A #1A124C #4C1A12
tetradic
#124C1A #12274C #4C1244 #4C3712
square
#124C1A #12274C #4C1244 #4C3712
split-complementary
#124C1A #37124C #4C1227
monochromatic
#061908 #061B09 #124C1A #1E7D2B #29AF3C

Accessibility & contrast

On white

10.12
#124C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C1A
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C1A#FFFFFF#000000##FFFFFF
##124C1A1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4415
Deuteranopia (green-blind)
#46401E
Tritanopia (blue-blind)
#014A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c1a;
/* rgb */ color: rgb(18, 76, 26);
/* oklch */ color: oklch(36.7% 0.099 145.3);
Tailwind
colors: {
  custom: {
    50: '#5a7f58',
    500: '#124c1a',
    950: '#000000',
  },
}
SCSS
$custom: #124c1a;
$custom-light: #5a7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#124c1a",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 26
  },
  "hsl": {
    "h": 128.276,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36723,
    "c": 0.09949,
    "h": 145.3
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#124C1A
secondary
#85357A
accent
#43CEE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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