#124728#124728

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

Color values

HEX#124728
RGBrgb(18, 71, 40)
HSLhsl(145, 60%, 17%)
HSVhsv(145, 75%, 28%)
CMYKcmyk(74.6%, 0%, 43.7%, 72.2%)
CIE-LABlab(26.12, -25.58, 13.74)
CIE-LCHlch(26.12, 29.04, 151.77°)
OKLaboklab(35.44% -0.0691 0.0342)
OKLCHoklch(35.44% 0.077 153.6)
XYZxyz(2.8854, 4.7880, 2.7792)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124728 #471231
analogous
#164712 #124728 #124743
triadic
#124728 #281247 #472812
tetradic
#124728 #121647 #471231 #474312
square
#124728 #121647 #471231 #474312
split-complementary
#124728 #431247 #471216
monochromatic
#06180E #06180E #124728 #1E7844 #2BA95F

Accessibility & contrast

On white

10.73
#124728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#124728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124728
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124728#FFFFFF#000000##FFFFFF
##1247281.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474126
Deuteranopia (green-blind)
#403C2A
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124728;
/* rgb */ color: rgb(18, 71, 40);
/* oklch */ color: oklch(35.4% 0.077 153.6);
Tailwind
colors: {
  custom: {
    50: '#587b62',
    500: '#124728',
    950: '#000000',
  },
}
SCSS
$custom: #124728;
$custom-light: #587b62;
$custom-dark: #000000;
JSON
{
  "hex": "#124728",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 40
  },
  "hsl": {
    "h": 144.906,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.07714,
    "h": 153.6
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#124728
secondary
#803561
accent
#45A1E3
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #124728

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

Preview Lab → · Contrast checker → · Palette generator →

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