#124A17#124A17

#124A17 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.099 H 144.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#124A17
RGBrgb(18, 74, 23)
HSLhsl(125, 61%, 18%)
HSVhsv(125, 76%, 29%)
CMYKcmyk(75.7%, 0%, 68.9%, 71%)
CIE-LABlab(26.98, -29.89, 24.70)
CIE-LCHlch(26.98, 38.77, 140.43°)
OKLaboklab(36.06% -0.0809 0.0578)
OKLCHoklch(36.06% 0.099 144.5)
XYZxyz(2.8527, 5.0877, 1.6421)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124A17 #4A1245
analogous
#294A12 #124A17 #124A33
triadic
#124A17 #17124A #4A1712
tetradic
#124A17 #12294A #4A1245 #4A3312
square
#124A17 #12294A #4A1245 #4A3312
split-complementary
#124A17 #33124A #4A1229
monochromatic
#061908 #061908 #124A17 #1E7B26 #2AAC36

Accessibility & contrast

On white

10.41
#124A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#124A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124A17
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124A17#FFFFFF#000000##FFFFFF
##124A171.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4311
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#03483F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #124a17;
/* rgb */ color: rgb(18, 74, 23);
/* oklch */ color: oklch(36.1% 0.099 144.5);
Tailwind
colors: {
  custom: {
    50: '#597d56',
    500: '#124a17',
    950: '#000000',
  },
}
SCSS
$custom: #124a17;
$custom-light: #597d56;
$custom-dark: #000000;
JSON
{
  "hex": "#124a17",
  "rgb": {
    "r": 18,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 125.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36062,
    "c": 0.09938,
    "h": 144.5
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#124A17
secondary
#83357C
accent
#44D6E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124A17

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

Preview Lab → · Contrast checker → · Palette generator →

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