#124717#124717

#124717 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.095 H 144.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#124717
RGBrgb(18, 71, 23)
HSLhsl(126, 60%, 17%)
HSVhsv(126, 75%, 28%)
CMYKcmyk(74.6%, 0%, 67.6%, 72.2%)
CIE-LABlab(25.85, -28.65, 23.41)
CIE-LCHlch(25.85, 37.00, 140.75°)
OKLaboklab(35.13% -0.0775 0.055)
OKLCHoklch(35.13% 0.095 144.6)
XYZxyz(2.6572, 4.6967, 1.5770)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124717 #471242
analogous
#284712 #124717 #124731
triadic
#124717 #171247 #471712
tetradic
#124717 #122847 #471242 #473112
square
#124717 #122847 #471242 #473112
split-complementary
#124717 #311247 #471228
monochromatic
#061808 #061808 #124717 #1E7827 #2BA937

Accessibility & contrast

On white

10.83
#124717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#124717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124717
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124717#FFFFFF#000000##FFFFFF
##1247171.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484012
Deuteranopia (green-blind)
#423C1B
Tritanopia (blue-blind)
#04453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #124717;
/* rgb */ color: rgb(18, 71, 23);
/* oklch */ color: oklch(35.1% 0.095 144.6);
Tailwind
colors: {
  custom: {
    50: '#587b56',
    500: '#124717',
    950: '#000000',
  },
}
SCSS
$custom: #124717;
$custom-light: #587b56;
$custom-dark: #000000;
JSON
{
  "hex": "#124717",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 125.66,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35126,
    "c": 0.09504,
    "h": 144.6
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#124717
secondary
#803579
accent
#45D4E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #124717

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

Preview Lab → · Contrast checker → · Palette generator →

#124717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva