#124718#124718

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

Color values

HEX#124718
RGBrgb(18, 71, 24)
HSLhsl(127, 60%, 17%)
HSVhsv(127, 75%, 28%)
CMYKcmyk(74.6%, 0%, 66.2%, 72.2%)
CIE-LABlab(25.86, -28.51, 22.88)
CIE-LCHlch(25.86, 36.55, 141.25°)
OKLaboklab(35.14% -0.0771 0.054)
OKLCHoklch(35.14% 0.094 145)
XYZxyz(2.6674, 4.7007, 1.6307)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124718 #471241
analogous
#274712 #124718 #124732
triadic
#124718 #181247 #471812
tetradic
#124718 #122747 #471241 #473212
square
#124718 #122747 #471241 #473212
split-complementary
#124718 #321247 #471227
monochromatic
#061808 #061808 #124718 #1E7829 #2BA939

Accessibility & contrast

On white

10.82
#124718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124718
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124718#FFFFFF#000000##FFFFFF
##1247181.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124718;
/* rgb */ color: rgb(18, 71, 24);
/* oklch */ color: oklch(35.1% 0.094 145.0);
Tailwind
colors: {
  custom: {
    50: '#587b56',
    500: '#124718',
    950: '#000000',
  },
}
SCSS
$custom: #124718;
$custom-light: #587b56;
$custom-dark: #000000;
JSON
{
  "hex": "#124718",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 126.792,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.0941,
    "h": 145
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#124718
secondary
#803578
accent
#45D1E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #124718

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

Preview Lab → · Contrast checker → · Palette generator →

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