#124A0D#124A0D

#124A0D is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.107 H 141.9°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#124A0D
RGBrgb(18, 74, 13)
HSLhsl(115, 70%, 17%)
HSVhsv(115, 82%, 29%)
CMYKcmyk(75.7%, 0%, 82.4%, 71%)
CIE-LABlab(26.89, -30.99, 29.31)
CIE-LCHlch(26.89, 42.66, 136.59°)
OKLaboklab(35.96% -0.0844 0.0661)
OKLCHoklch(35.96% 0.107 141.9)
XYZxyz(2.7707, 5.0549, 1.2104)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A0D #450D4A
analogous
#314A0D #124A0D #0D4A27
triadic
#124A0D #0D124A #4A0D12
tetradic
#124A0D #0D314A #450D4A #4A270D
square
#124A0D #0D314A #450D4A #4A270D
split-complementary
#124A0D #270D4A #4A0D31
monochromatic
#061A05 #061A05 #124A0D #1F7E16 #2BB21F

Accessibility & contrast

On white

10.44
#124A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A0D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A0D#FFFFFF#000000##FFFFFF
##124A0D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4203
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#05473E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a0d;
/* rgb */ color: rgb(18, 74, 13);
/* oklch */ color: oklch(36.0% 0.107 141.9);
Tailwind
colors: {
  custom: {
    50: '#5a7d50',
    500: '#124a0d',
    950: '#000000',
  },
}
SCSS
$custom: #124a0d;
$custom-light: #5a7d50;
$custom-dark: #000000;
JSON
{
  "hex": "#124a0d",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 13
  },
  "hsl": {
    "h": 115.082,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35956,
    "c": 0.10724,
    "h": 141.9
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#124A0D
secondary
#7E2E85
accent
#3BEDDE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #124A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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