#124126#124126

#124126 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.5% C 0.070 H 154.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#124126
RGBrgb(18, 65, 38)
HSLhsl(146, 57%, 16%)
HSVhsv(146, 72%, 25%)
CMYKcmyk(72.3%, 0%, 41.5%, 74.5%)
CIE-LABlab(23.83, -23.20, 11.96)
CIE-LCHlch(23.83, 26.10, 152.74°)
OKLaboklab(33.54% -0.0628 0.03)
OKLCHoklch(33.54% 0.07 154.5)
XYZxyz(2.4894, 4.0489, 2.4837)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124126 #41122D
analogous
#164112 #124126 #12413E
triadic
#124126 #261241 #412612
tetradic
#124126 #121641 #41122D #413E12
square
#124126 #121641 #41122D #413E12
split-complementary
#124126 #3E1241 #411216
monochromatic
#07180E #07180E #124126 #1F7142 #2DA15E

Accessibility & contrast

On white

11.60
#124126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#124126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124126
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124126#FFFFFF#000000##FFFFFF
##1241261.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B24
Deuteranopia (green-blind)
#3B3728
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124126;
/* rgb */ color: rgb(18, 65, 38);
/* oklch */ color: oklch(33.5% 0.070 154.5);
Tailwind
colors: {
  custom: {
    50: '#567660',
    500: '#124126',
    950: '#000000',
  },
}
SCSS
$custom: #124126;
$custom-light: #567660;
$custom-dark: #000000;
JSON
{
  "hex": "#124126",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 38
  },
  "hsl": {
    "h": 145.532,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3354,
    "c": 0.06961,
    "h": 154.5
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#124126
secondary
#7A355D
accent
#489FE0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #124126

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

Preview Lab → · Contrast checker → · Palette generator →

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