#124104#124104

#124104 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.101 H 139.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#124104
RGBrgb(18, 65, 4)
HSLhsl(106, 88%, 14%)
HSVhsv(106, 94%, 25%)
CMYKcmyk(72.3%, 0%, 93.8%, 74.5%)
CIE-LABlab(23.40, -28.16, 29.51)
CIE-LCHlch(23.40, 40.79, 133.65°)
OKLaboklab(33.04% -0.0774 0.0653)
OKLCHoklch(33.04% 0.101 139.8)
XYZxyz(2.1616, 3.9177, 0.7571)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124104 #330441
analogous
#304104 #124104 #044114
triadic
#124104 #041241 #410412
tetradic
#124104 #043041 #330441 #411404
square
#124104 #043041 #330441 #411404
split-complementary
#124104 #140441 #410430
monochromatic
#081D02 #081D02 #124104 #227B08 #32B40B

Accessibility & contrast

On white

11.77
#124104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#124104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124104
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124104#FFFFFF#000000##FFFFFF
##1241041.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3E360B
Tritanopia (blue-blind)
#0B3E36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #124104;
/* rgb */ color: rgb(18, 65, 4);
/* oklch */ color: oklch(33.0% 0.101 139.8);
Tailwind
colors: {
  custom: {
    50: '#58764a',
    500: '#124104',
    950: '#000000',
  },
}
SCSS
$custom: #124104;
$custom-light: #58764a;
$custom-dark: #000000;
JSON
{
  "hex": "#124104",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 106.23,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.10127,
    "h": 139.8
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#124104
secondary
#6B1F82
accent
#29FFCE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124104

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

Preview Lab → · Contrast checker → · Palette generator →

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