#124918#124918

#124918 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.097 H 144.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#124918
RGBrgb(18, 73, 24)
HSLhsl(127, 60%, 18%)
HSVhsv(127, 75%, 29%)
CMYKcmyk(75.3%, 0%, 67.1%, 71.4%)
CIE-LABlab(26.62, -29.34, 23.75)
CIE-LCHlch(26.62, 37.75, 141.01°)
OKLaboklab(35.76% -0.0793 0.0558)
OKLCHoklch(35.76% 0.097 144.9)
XYZxyz(2.7967, 4.9593, 1.6738)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124918 #491243
analogous
#284912 #124918 #124933
triadic
#124918 #181249 #491812
tetradic
#124918 #122849 #491243 #493312
square
#124918 #122849 #491243 #493312
split-complementary
#124918 #331249 #491228
monochromatic
#061908 #061908 #124918 #1E7A28 #2AAB38

Accessibility & contrast

On white

10.54
#124918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#124918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124918
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124918#FFFFFF#000000##FFFFFF
##1249181.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4213
Deuteranopia (green-blind)
#443D1C
Tritanopia (blue-blind)
#03473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124918;
/* rgb */ color: rgb(18, 73, 24);
/* oklch */ color: oklch(35.8% 0.097 144.9);
Tailwind
colors: {
  custom: {
    50: '#597c57',
    500: '#124918',
    950: '#000000',
  },
}
SCSS
$custom: #124918;
$custom-light: #597c57;
$custom-dark: #000000;
JSON
{
  "hex": "#124918",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 126.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.09703,
    "h": 144.9
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#124918
secondary
#82357A
accent
#44D2E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #124918

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

Preview Lab → · Contrast checker → · Palette generator →

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