#124128#124128

#124128 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.067 H 156.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#124128
RGBrgb(18, 65, 40)
HSLhsl(148, 57%, 16%)
HSVhsv(148, 72%, 25%)
CMYKcmyk(72.3%, 0%, 38.5%, 74.5%)
CIE-LABlab(23.88, -22.74, 10.73)
CIE-LCHlch(23.88, 25.14, 154.73°)
OKLaboklab(33.59% -0.0617 0.027)
OKLCHoklch(33.59% 0.067 156.3)
XYZxyz(2.5225, 4.0621, 2.6582)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124128 #41122B
analogous
#144112 #124128 #124140
triadic
#124128 #281241 #412812
tetradic
#124128 #121441 #41122B #414012
square
#124128 #121441 #41122B #414012
split-complementary
#124128 #401241 #411214
monochromatic
#07180F #07180F #124128 #1F7145 #2DA163

Accessibility & contrast

On white

11.59
#124128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124128
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124128#FFFFFF#000000##FFFFFF
##1241281.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B26
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #124128;
/* rgb */ color: rgb(18, 65, 40);
/* oklch */ color: oklch(33.6% 0.067 156.3);
Tailwind
colors: {
  custom: {
    50: '#567662',
    500: '#124128',
    950: '#000000',
  },
}
SCSS
$custom: #124128;
$custom-light: #567662;
$custom-dark: #000000;
JSON
{
  "hex": "#124128",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 40
  },
  "hsl": {
    "h": 148.085,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3359,
    "c": 0.06739,
    "h": 156.3
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#124128
secondary
#7A355A
accent
#4899E0
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #124128

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

Preview Lab → · Contrast checker → · Palette generator →

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