#124817#124817

#124817 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.4% C 0.097 H 144.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#124817
RGBrgb(18, 72, 23)
HSLhsl(126, 60%, 18%)
HSVhsv(126, 75%, 28%)
CMYKcmyk(75%, 0%, 68.1%, 71.8%)
CIE-LABlab(26.23, -29.06, 23.84)
CIE-LCHlch(26.23, 37.59, 140.64°)
OKLaboklab(35.44% -0.0786 0.0559)
OKLCHoklch(35.44% 0.097 144.6)
XYZxyz(2.7213, 4.8249, 1.5983)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124817 #481243
analogous
#284812 #124817 #124832
triadic
#124817 #171248 #481712
tetradic
#124817 #122848 #481243 #483212
square
#124817 #122848 #481243 #483212
split-complementary
#124817 #321248 #481228
monochromatic
#061808 #061808 #124817 #1E7927 #2AAA36

Accessibility & contrast

On white

10.69
#124817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#124817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124817
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124817#FFFFFF#000000##FFFFFF
##1248171.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494112
Deuteranopia (green-blind)
#433C1B
Tritanopia (blue-blind)
#04463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124817;
/* rgb */ color: rgb(18, 72, 23);
/* oklch */ color: oklch(35.4% 0.097 144.6);
Tailwind
colors: {
  custom: {
    50: '#597c56',
    500: '#124817',
    950: '#000000',
  },
}
SCSS
$custom: #124817;
$custom-light: #597c56;
$custom-dark: #000000;
JSON
{
  "hex": "#124817",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 125.556,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.0965,
    "h": 144.6
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#124817
secondary
#81357A
accent
#45D4E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #124817

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

Preview Lab → · Contrast checker → · Palette generator →

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