#124724#124724

#124724 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.3% C 0.082 H 150.9°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#124724
RGBrgb(18, 71, 36)
HSLhsl(140, 60%, 17%)
HSVhsv(140, 75%, 28%)
CMYKcmyk(74.6%, 0%, 49.3%, 72.2%)
CIE-LABlab(26.05, -26.43, 16.11)
CIE-LCHlch(26.05, 30.95, 148.63°)
OKLaboklab(35.35% -0.0713 0.0397)
OKLCHoklch(35.35% 0.082 150.9)
XYZxyz(2.8209, 4.7621, 2.4392)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124724 #471235
analogous
#1B4712 #124724 #12473E
triadic
#124724 #241247 #472412
tetradic
#124724 #121B47 #471235 #473E12
square
#124724 #121B47 #471235 #473E12
split-complementary
#124724 #3E1247 #47121B
monochromatic
#06180C #06180C #124724 #1E783D #2BA956

Accessibility & contrast

On white

10.76
#124724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#124724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124724
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124724#FFFFFF#000000##FFFFFF
##1247241.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474021
Deuteranopia (green-blind)
#413C26
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124724;
/* rgb */ color: rgb(18, 71, 36);
/* oklch */ color: oklch(35.3% 0.082 150.9);
Tailwind
colors: {
  custom: {
    50: '#587b5f',
    500: '#124724',
    950: '#000000',
  },
}
SCSS
$custom: #124724;
$custom-light: #587b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#124724",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 36
  },
  "hsl": {
    "h": 140.377,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35349,
    "c": 0.08156,
    "h": 150.9
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#124724
secondary
#803566
accent
#45ADE3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #124724

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

Preview Lab → · Contrast checker → · Palette generator →

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