#124A12#124A12

#124A12 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.104 H 143.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#124A12
RGBrgb(18, 74, 18)
HSLhsl(120, 61%, 18%)
HSVhsv(120, 76%, 29%)
CMYKcmyk(75.7%, 0%, 75.7%, 71%)
CIE-LABlab(26.93, -30.50, 27.14)
CIE-LCHlch(26.93, 40.82, 138.34°)
OKLaboklab(36% -0.0828 0.0623)
OKLCHoklch(36% 0.104 143)
XYZxyz(2.8072, 5.0695, 1.4027)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A12 #4A124A
analogous
#2E4A12 #124A12 #124A2E
triadic
#124A12 #12124A #4A1212
tetradic
#124A12 #122E4A #4A124A #4A2E12
square
#124A12 #122E4A #4A124A #4A2E12
split-complementary
#124A12 #2E124A #4A122E
monochromatic
#061906 #061906 #124A12 #1E7B1E #2AAC2A

Accessibility & contrast

On white

10.43
#124A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A12
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A12#FFFFFF#000000##FFFFFF
##124A121.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#04483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a12;
/* rgb */ color: rgb(18, 74, 18);
/* oklch */ color: oklch(36.0% 0.104 143.0);
Tailwind
colors: {
  custom: {
    50: '#5a7d53',
    500: '#124a12',
    950: '#000000',
  },
}
SCSS
$custom: #124a12;
$custom-light: #5a7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#124a12",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.10362,
    "h": 143
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#124A12
secondary
#833583
accent
#44E4E4
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A12

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

Preview Lab → · Contrast checker → · Palette generator →

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