#124727#124727

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

Color values

HEX#124727
RGBrgb(18, 71, 39)
HSLhsl(144, 60%, 17%)
HSVhsv(144, 75%, 28%)
CMYKcmyk(74.6%, 0%, 45.1%, 72.2%)
CIE-LABlab(26.10, -25.80, 14.33)
CIE-LCHlch(26.10, 29.52, 150.94°)
OKLaboklab(35.41% -0.0697 0.0356)
OKLCHoklch(35.41% 0.078 152.9)
XYZxyz(2.8687, 4.7813, 2.6908)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124727 #471232
analogous
#174712 #124727 #124742
triadic
#124727 #271247 #472712
tetradic
#124727 #121747 #471232 #474212
square
#124727 #121747 #471232 #474212
split-complementary
#124727 #421247 #471217
monochromatic
#06180D #06180D #124727 #1E7842 #2BA95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124727#FFFFFF#000000##FFFFFF
##1247271.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)
#474125
Deuteranopia (green-blind)
#403C29
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #124727;
/* rgb */ color: rgb(18, 71, 39);
/* oklch */ color: oklch(35.4% 0.078 152.9);
Tailwind
colors: {
  custom: {
    50: '#587b61',
    500: '#124727',
    950: '#000000',
  },
}
SCSS
$custom: #124727;
$custom-light: #587b61;
$custom-dark: #000000;
JSON
{
  "hex": "#124727",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 39
  },
  "hsl": {
    "h": 143.774,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35414,
    "c": 0.07824,
    "h": 152.9
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#124727
secondary
#803562
accent
#45A4E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040905
muted
#797B79

Preview Lab

Preview with #124727

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

Preview Lab → · Contrast checker → · Palette generator →

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