#124D0D#124D0D

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

Color values

HEX#124D0D
RGBrgb(18, 77, 13)
HSLhsl(115, 71%, 18%)
HSVhsv(115, 83%, 30%)
CMYKcmyk(76.6%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.02, -32.16, 30.44)
CIE-LCHlch(28.02, 44.28, 136.57°)
OKLaboklab(36.89% -0.0876 0.0685)
OKLCHoklch(36.89% 0.111 142)
XYZxyz(2.9758, 5.4651, 1.2787)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D0D #480D4D
analogous
#324D0D #124D0D #0D4D28
triadic
#124D0D #0D124D #4D0D12
tetradic
#124D0D #0D324D #480D4D #4D280D
square
#124D0D #0D324D #480D4D #4D280D
split-complementary
#124D0D #280D4D #4D0D32
monochromatic
#061A04 #061A04 #124D0D #1E8116 #2AB61F

Accessibility & contrast

On white

10.03
#124D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D0D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D0D#FFFFFF#000000##FFFFFF
##124D0D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124d0d;
/* rgb */ color: rgb(18, 77, 13);
/* oklch */ color: oklch(36.9% 0.111 142.0);
Tailwind
colors: {
  custom: {
    50: '#5b7f51',
    500: '#124d0d',
    950: '#000000',
  },
}
SCSS
$custom: #124d0d;
$custom-light: #5b7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#124d0d",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 115.313,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36893,
    "c": 0.11117,
    "h": 142
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#124D0D
secondary
#812E88
accent
#3AEEE0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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