#124726#124726

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

Color values

HEX#124726
RGBrgb(18, 71, 38)
HSLhsl(143, 60%, 17%)
HSVhsv(143, 75%, 28%)
CMYKcmyk(74.6%, 0%, 46.5%, 72.2%)
CIE-LABlab(26.08, -26.01, 14.93)
CIE-LCHlch(26.08, 29.99, 150.15°)
OKLaboklab(35.39% -0.0702 0.037)
OKLCHoklch(35.39% 0.079 152.2)
XYZxyz(2.8523, 4.7747, 2.6046)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124726 #471233
analogous
#184712 #124726 #124741
triadic
#124726 #261247 #472612
tetradic
#124726 #121847 #471233 #474112
square
#124726 #121847 #471233 #474112
split-complementary
#124726 #411247 #471218
monochromatic
#06180D #06180D #124726 #1E7840 #2BA95A

Accessibility & contrast

On white

10.74
#124726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124726
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124726#FFFFFF#000000##FFFFFF
##1247261.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124726;
/* rgb */ color: rgb(18, 71, 38);
/* oklch */ color: oklch(35.4% 0.079 152.2);
Tailwind
colors: {
  custom: {
    50: '#587b60',
    500: '#124726',
    950: '#000000',
  },
}
SCSS
$custom: #124726;
$custom-light: #587b60;
$custom-dark: #000000;
JSON
{
  "hex": "#124726",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 38
  },
  "hsl": {
    "h": 142.642,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35392,
    "c": 0.07935,
    "h": 152.2
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#124726
secondary
#803564
accent
#45A7E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040905
muted
#797B79

Preview Lab

Preview with #124726

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

Preview Lab → · Contrast checker → · Palette generator →

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