#124C1E#124C1E

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

Color values

HEX#124C1E
RGBrgb(18, 76, 30)
HSLhsl(132, 62%, 18%)
HSVhsv(132, 76%, 30%)
CMYKcmyk(76.3%, 0%, 60.5%, 70.2%)
CIE-LABlab(27.82, -29.68, 21.86)
CIE-LCHlch(27.82, 36.86, 143.63°)
OKLaboklab(36.78% -0.08 0.0523)
OKLCHoklch(36.78% 0.096 146.9)
XYZxyz(3.0680, 5.3909, 2.1069)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C1E #4C1240
analogous
#234C12 #124C1E #124C3B
triadic
#124C1E #1E124C #4C1E12
tetradic
#124C1E #12234C #4C1240 #4C3B12
square
#124C1E #12234C #4C1240 #4C3B12
split-complementary
#124C1E #3B124C #4C1223
monochromatic
#06190A #061B0A #124C1E #1E7D32 #29AF45

Accessibility & contrast

On white

10.10
#124C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C1E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C1E#FFFFFF#000000##FFFFFF
##124C1E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451A
Deuteranopia (green-blind)
#464022
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124c1e;
/* rgb */ color: rgb(18, 76, 30);
/* oklch */ color: oklch(36.8% 0.096 146.9);
Tailwind
colors: {
  custom: {
    50: '#597f5b',
    500: '#124c1e',
    950: '#000000',
  },
}
SCSS
$custom: #124c1e;
$custom-light: #597f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#124c1e",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 30
  },
  "hsl": {
    "h": 132.414,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36783,
    "c": 0.0956,
    "h": 146.9
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#124C1E
secondary
#853574
accent
#43C3E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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