#124818#124818

#124818 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.096 H 144.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#124818
RGBrgb(18, 72, 24)
HSLhsl(127, 60%, 18%)
HSVhsv(127, 75%, 28%)
CMYKcmyk(75%, 0%, 66.7%, 71.8%)
CIE-LABlab(26.24, -28.92, 23.32)
CIE-LCHlch(26.24, 37.15, 141.13°)
OKLaboklab(35.45% -0.0782 0.0549)
OKLCHoklch(35.45% 0.096 144.9)
XYZxyz(2.7315, 4.8290, 1.6521)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124818 #481242
analogous
#274812 #124818 #124833
triadic
#124818 #181248 #481812
tetradic
#124818 #122748 #481242 #483312
square
#124818 #122748 #481242 #483312
split-complementary
#124818 #331248 #481227
monochromatic
#061808 #061808 #124818 #1E7928 #2AAA39

Accessibility & contrast

On white

10.68
#124818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124818
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124818#FFFFFF#000000##FFFFFF
##1248181.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494113
Deuteranopia (green-blind)
#433C1C
Tritanopia (blue-blind)
#03463E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124818;
/* rgb */ color: rgb(18, 72, 24);
/* oklch */ color: oklch(35.5% 0.096 144.9);
Tailwind
colors: {
  custom: {
    50: '#597c57',
    500: '#124818',
    950: '#000000',
  },
}
SCSS
$custom: #124818;
$custom-light: #597c57;
$custom-dark: #000000;
JSON
{
  "hex": "#124818",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 24
  },
  "hsl": {
    "h": 126.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35452,
    "c": 0.09556,
    "h": 144.9
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#124818
secondary
#813579
accent
#45D2E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #124818

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

Preview Lab → · Contrast checker → · Palette generator →

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