#124D12#124D12

#124D12 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.108 H 143.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#124D12
RGBrgb(18, 77, 18)
HSLhsl(120, 62%, 19%)
HSVhsv(120, 77%, 30%)
CMYKcmyk(76.6%, 0%, 76.6%, 69.8%)
CIE-LABlab(28.06, -31.68, 28.33)
CIE-LCHlch(28.06, 42.50, 138.20°)
OKLaboklab(36.94% -0.086 0.0648)
OKLCHoklch(36.94% 0.108 143)
XYZxyz(3.0123, 5.4797, 1.4711)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D12 #4D124D
analogous
#2F4D12 #124D12 #124D2F
triadic
#124D12 #12124D #4D1212
tetradic
#124D12 #122F4D #4D124D #4D2F12
square
#124D12 #122F4D #4D124D #4D2F12
split-complementary
#124D12 #2F124D #4D122F
monochromatic
#061906 #061B06 #124D12 #1E7F1E #29B029

Accessibility & contrast

On white

10.02
#124D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D12
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D12#FFFFFF#000000##FFFFFF
##124D121.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#034B41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d12;
/* rgb */ color: rgb(18, 77, 18);
/* oklch */ color: oklch(36.9% 0.108 143.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f53',
    500: '#124d12',
    950: '#000000',
  },
}
SCSS
$custom: #124d12;
$custom-light: #5a7f53;
$custom-dark: #000000;
JSON
{
  "hex": "#124d12",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.1077,
    "h": 143
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #124D12

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

Preview Lab → · Contrast checker → · Palette generator →

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