#124D0E#124D0E

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

Color values

HEX#124D0E
RGBrgb(18, 77, 14)
HSLhsl(116, 69%, 18%)
HSVhsv(116, 82%, 30%)
CMYKcmyk(76.6%, 0%, 81.8%, 69.8%)
CIE-LABlab(28.03, -32.07, 30.04)
CIE-LCHlch(28.03, 43.94, 136.87°)
OKLaboklab(36.9% -0.0873 0.0678)
OKLCHoklch(36.9% 0.111 142.2)
XYZxyz(2.9824, 5.4677, 1.3136)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D0E #490E4D
analogous
#324D0E #124D0E #0E4D29
triadic
#124D0E #0E124D #4D0E12
tetradic
#124D0E #0E324D #490E4D #4D290E
square
#124D0E #0E324D #490E4D #4D290E
split-complementary
#124D0E #290E4D #4D0E32
monochromatic
#061A05 #061A05 #124D0E #1E8117 #2AB521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124D0E#FFFFFF#000000##FFFFFF
##124D0E1.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)
#4F4503
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#044A41
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d0e;
/* rgb */ color: rgb(18, 77, 14);
/* oklch */ color: oklch(36.9% 0.111 142.2);
Tailwind
colors: {
  custom: {
    50: '#5b7f51',
    500: '#124d0e',
    950: '#000000',
  },
}
SCSS
$custom: #124d0e;
$custom-light: #5b7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#124d0e",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 116.19,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.11052,
    "h": 142.2
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#124D0E
secondary
#822F88
accent
#3CECE1
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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