#124C17#124C17

#124C17 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.7% C 0.102 H 144.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#124C17
RGBrgb(18, 76, 23)
HSLhsl(125, 62%, 18%)
HSVhsv(125, 76%, 30%)
CMYKcmyk(76.3%, 0%, 69.7%, 70.2%)
CIE-LABlab(27.73, -30.70, 25.54)
CIE-LCHlch(27.73, 39.93, 140.24°)
OKLaboklab(36.68% -0.0831 0.0596)
OKLCHoklch(36.68% 0.102 144.4)
XYZxyz(2.9884, 5.3590, 1.6873)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124C17 #4C1247
analogous
#2A4C12 #124C17 #124C34
triadic
#124C17 #17124C #4C1712
tetradic
#124C17 #122A4C #4C1247 #4C3412
square
#124C17 #122A4C #4C1247 #4C3412
split-complementary
#124C17 #34124C #4C122A
monochromatic
#061907 #061B08 #124C17 #1E7D26 #29AF35

Accessibility & contrast

On white

10.14
#124C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#124C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124C17
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124C17#FFFFFF#000000##FFFFFF
##124C171.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4411
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#024A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124c17;
/* rgb */ color: rgb(18, 76, 23);
/* oklch */ color: oklch(36.7% 0.102 144.4);
Tailwind
colors: {
  custom: {
    50: '#5a7f56',
    500: '#124c17',
    950: '#000000',
  },
}
SCSS
$custom: #124c17;
$custom-light: #5a7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#124c17",
  "rgb": {
    "r": 18,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 125.172,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.10222,
    "h": 144.4
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#124C17
secondary
#85357E
accent
#43D7E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124C17

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

Preview Lab → · Contrast checker → · Palette generator →

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