#124D0C#124D0C

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

Color values

HEX#124D0C
RGBrgb(18, 77, 12)
HSLhsl(114, 73%, 17%)
HSVhsv(114, 84%, 30%)
CMYKcmyk(76.6%, 0%, 84.4%, 69.8%)
CIE-LABlab(28.01, -32.24, 30.82)
CIE-LCHlch(28.01, 44.60, 136.29°)
OKLaboklab(36.89% -0.0879 0.0691)
OKLCHoklch(36.89% 0.112 141.8)
XYZxyz(2.9695, 5.4626, 1.2456)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D0C #470C4D
analogous
#324D0C #124D0C #0C4D27
triadic
#124D0C #0C124D #4D0C12
tetradic
#124D0C #0C324D #470C4D #4D270C
square
#124D0C #0C324D #470C4D #4D270C
split-complementary
#124D0C #270C4D #4D0C32
monochromatic
#061A04 #061A04 #124D0C #1E8214 #2BB71D

Accessibility & contrast

On white

10.04
#124D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#124D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D0C
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D0C#FFFFFF#000000##FFFFFF
##124D0C1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#484013
Tritanopia (blue-blind)
#044A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d0c;
/* rgb */ color: rgb(18, 77, 12);
/* oklch */ color: oklch(36.9% 0.112 141.8);
Tailwind
colors: {
  custom: {
    50: '#5b7f50',
    500: '#124d0c',
    950: '#000000',
  },
}
SCSS
$custom: #124d0c;
$custom-light: #5b7f50;
$custom-dark: #000000;
JSON
{
  "hex": "#124d0c",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 114.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.11179,
    "h": 141.8
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#124D0C
secondary
#802C89
accent
#38F0DF
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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