#124C12#124C12

#124C12 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.106 H 143.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#124C12
RGBrgb(18, 76, 18)
HSLhsl(120, 62%, 18%)
HSVhsv(120, 76%, 30%)
CMYKcmyk(76.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(27.68, -31.29, 27.93)
CIE-LCHlch(27.68, 41.94, 138.24°)
OKLaboklab(36.63% -0.0849 0.064)
OKLCHoklch(36.63% 0.106 143)
XYZxyz(2.9429, 5.3408, 1.4479)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C12 #4C124C
analogous
#2F4C12 #124C12 #124C2F
triadic
#124C12 #12124C #4C1212
tetradic
#124C12 #122F4C #4C124C #4C2F12
square
#124C12 #122F4C #4C124C #4C2F12
split-complementary
#124C12 #2F124C #4C122F
monochromatic
#061906 #061B06 #124C12 #1E7D1E #29AF29

Accessibility & contrast

On white

10.15
#124C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C12
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C12#FFFFFF#000000##FFFFFF
##124C121.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4409
Deuteranopia (green-blind)
#474018
Tritanopia (blue-blind)
#034A40
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c12;
/* rgb */ color: rgb(18, 76, 18);
/* oklch */ color: oklch(36.6% 0.106 143.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f53',
    500: '#124c12',
    950: '#000000',
  },
}
SCSS
$custom: #124c12;
$custom-light: #5a7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#124c12",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36627,
    "c": 0.10634,
    "h": 143
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#124C12
secondary
#853585
accent
#43E5E5
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #124C12

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

Preview Lab → · Contrast checker → · Palette generator →

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