#124C1D#124C1D

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

Color values

HEX#124C1D
RGBrgb(18, 76, 29)
HSLhsl(131, 62%, 18%)
HSVhsv(131, 76%, 30%)
CMYKcmyk(76.3%, 0%, 61.8%, 70.2%)
CIE-LABlab(27.81, -29.84, 22.40)
CIE-LCHlch(27.81, 37.31, 143.10°)
OKLaboklab(36.77% -0.0805 0.0534)
OKLCHoklch(36.77% 0.097 146.5)
XYZxyz(3.0555, 5.3859, 2.0407)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C1D #4C1241
analogous
#244C12 #124C1D #124C3A
triadic
#124C1D #1D124C #4C1D12
tetradic
#124C1D #12244C #4C1241 #4C3A12
square
#124C1D #12244C #4C1241 #4C3A12
split-complementary
#124C1D #3A124C #4C1224
monochromatic
#061909 #061B0A #124C1D #1E7D30 #29AF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124C1D#FFFFFF#000000##FFFFFF
##124C1D1.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)
#4D4518
Deuteranopia (green-blind)
#464021
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c1d;
/* rgb */ color: rgb(18, 76, 29);
/* oklch */ color: oklch(36.8% 0.097 146.5);
Tailwind
colors: {
  custom: {
    50: '#597f5a',
    500: '#124c1d',
    950: '#000000',
  },
}
SCSS
$custom: #124c1d;
$custom-light: #597f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#124c1d",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 29
  },
  "hsl": {
    "h": 131.379,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.09659,
    "h": 146.5
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#124C1D
secondary
#853576
accent
#43C6E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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