#124C18#124C18

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

Color values

HEX#124C18
RGBrgb(18, 76, 24)
HSLhsl(126, 62%, 18%)
HSVhsv(126, 76%, 30%)
CMYKcmyk(76.3%, 0%, 68.4%, 70.2%)
CIE-LABlab(27.75, -30.57, 25.04)
CIE-LCHlch(27.75, 39.51, 140.68°)
OKLaboklab(36.7% -0.0827 0.0586)
OKLCHoklch(36.7% 0.101 144.7)
XYZxyz(2.9986, 5.3631, 1.7411)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C18 #4C1246
analogous
#294C12 #124C18 #124C35
triadic
#124C18 #18124C #4C1812
tetradic
#124C18 #12294C #4C1246 #4C3512
square
#124C18 #12294C #4C1246 #4C3512
split-complementary
#124C18 #35124C #4C1229
monochromatic
#061908 #061B08 #124C18 #1E7D28 #29AF37

Accessibility & contrast

On white

10.13
#124C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C18
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C18#FFFFFF#000000##FFFFFF
##124C181.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4412
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#014A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c18;
/* rgb */ color: rgb(18, 76, 24);
/* oklch */ color: oklch(36.7% 0.101 144.7);
Tailwind
colors: {
  custom: {
    50: '#5a7f57',
    500: '#124c18',
    950: '#000000',
  },
}
SCSS
$custom: #124c18;
$custom-light: #5a7f57;
$custom-dark: #000000;
JSON
{
  "hex": "#124c18",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 126.207,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36696,
    "c": 0.10133,
    "h": 144.7
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#124C18
secondary
#85357D
accent
#43D4E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124C18

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

Preview Lab → · Contrast checker → · Palette generator →

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