#124C0D#124C0D

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

Color values

HEX#124C0D
RGBrgb(18, 76, 13)
HSLhsl(115, 71%, 17%)
HSVhsv(115, 83%, 30%)
CMYKcmyk(76.3%, 0%, 82.9%, 70.2%)
CIE-LABlab(27.64, -31.77, 30.06)
CIE-LCHlch(27.64, 43.74, 136.58°)
OKLaboklab(36.58% -0.0865 0.0677)
OKLCHoklch(36.58% 0.11 142)
XYZxyz(2.9064, 5.3262, 1.2556)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C0D #470D4C
analogous
#324C0D #124C0D #0D4C27
triadic
#124C0D #0D124C #4C0D12
tetradic
#124C0D #0D324C #470D4C #4C270D
square
#124C0D #0D324C #470D4C #4C270D
split-complementary
#124C0D #270D4C #4C0D32
monochromatic
#061A04 #061A04 #124C0D #1E8016 #2BB51F

Accessibility & contrast

On white

10.17
#124C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124C0D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C0D#FFFFFF#000000##FFFFFF
##124C0D1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4402
Deuteranopia (green-blind)
#474014
Tritanopia (blue-blind)
#044940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c0d;
/* rgb */ color: rgb(18, 76, 13);
/* oklch */ color: oklch(36.6% 0.110 142.0);
Tailwind
colors: {
  custom: {
    50: '#5a7f51',
    500: '#124c0d',
    950: '#000000',
  },
}
SCSS
$custom: #124c0d;
$custom-light: #5a7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#124c0d",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 115.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.10987,
    "h": 142
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#124C0D
secondary
#802E87
accent
#3AEEDF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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