#124618#124618

#124618 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.093 H 145.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#124618
RGBrgb(18, 70, 24)
HSLhsl(127, 59%, 17%)
HSVhsv(127, 74%, 27%)
CMYKcmyk(74.3%, 0%, 65.7%, 72.5%)
CIE-LABlab(25.49, -28.08, 22.44)
CIE-LCHlch(25.49, 35.95, 141.37°)
OKLaboklab(34.83% -0.0759 0.053)
OKLCHoklch(34.83% 0.093 145.1)
XYZxyz(2.6043, 4.5746, 1.6097)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124618 #461240
analogous
#264612 #124618 #124632
triadic
#124618 #181246 #461812
tetradic
#124618 #122646 #461240 #463212
square
#124618 #122646 #461240 #463212
split-complementary
#124618 #321246 #461226
monochromatic
#061808 #061808 #124618 #1F7729 #2BA739

Accessibility & contrast

On white

10.97
#124618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#124618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124618
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124618#FFFFFF#000000##FFFFFF
##1246181.0010.971.9210.97
#FFFFFF10.971.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F13
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#04443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124618;
/* rgb */ color: rgb(18, 70, 24);
/* oklch */ color: oklch(34.8% 0.093 145.1);
Tailwind
colors: {
  custom: {
    50: '#587a56',
    500: '#124618',
    950: '#000000',
  },
}
SCSS
$custom: #124618;
$custom-light: #587a56;
$custom-dark: #000000;
JSON
{
  "hex": "#124618",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 24
  },
  "hsl": {
    "h": 126.923,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.09262,
    "h": 145.1
  },
  "luminance": 0.04575
}

Semantic roles & 50–950 ramp

primary
#124618
secondary
#7F3577
accent
#46D0E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040903
muted
#797B78

Preview Lab

Preview with #124618

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

Preview Lab → · Contrast checker → · Palette generator →

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