#124C1C#124C1C

#124C1C is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.098 H 146.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#124C1C
RGBrgb(18, 76, 28)
HSLhsl(130, 62%, 18%)
HSVhsv(130, 76%, 30%)
CMYKcmyk(76.3%, 0%, 63.2%, 70.2%)
CIE-LABlab(27.79, -29.99, 22.94)
CIE-LCHlch(27.79, 37.76, 142.59°)
OKLaboklab(36.75% -0.0809 0.0545)
OKLCHoklch(36.75% 0.098 146.1)
XYZxyz(3.0433, 5.3810, 1.9766)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C1C #4C1242
analogous
#254C12 #124C1C #124C39
triadic
#124C1C #1C124C #4C1C12
tetradic
#124C1C #12254C #4C1242 #4C3912
square
#124C1C #12254C #4C1242 #4C3912
split-complementary
#124C1C #39124C #4C1225
monochromatic
#061909 #061B0A #124C1C #1E7D2E #29AF40

Accessibility & contrast

On white

10.11
#124C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#124C1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C1C
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C1C#FFFFFF#000000##FFFFFF
##124C1C1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4517
Deuteranopia (green-blind)
#464020
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c1c;
/* rgb */ color: rgb(18, 76, 28);
/* oklch */ color: oklch(36.8% 0.098 146.1);
Tailwind
colors: {
  custom: {
    50: '#5a7f5a',
    500: '#124c1c',
    950: '#000000',
  },
}
SCSS
$custom: #124c1c;
$custom-light: #5a7f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#124c1c",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 28
  },
  "hsl": {
    "h": 130.345,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.09757,
    "h": 146.1
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#124C1C
secondary
#853577
accent
#43C9E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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