#124004#124004

#124004 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.100 H 139.8°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#124004
RGBrgb(18, 64, 4)
HSLhsl(106, 88%, 13%)
HSVhsv(106, 94%, 25%)
CMYKcmyk(71.9%, 0%, 93.8%, 74.9%)
CIE-LABlab(23.01, -27.75, 29.12)
CIE-LCHlch(23.01, 40.22, 133.62°)
OKLaboklab(32.72% -0.0763 0.0646)
OKLCHoklch(32.72% 0.1 139.8)
XYZxyz(2.1047, 3.8040, 0.7382)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124004 #320440
analogous
#304004 #124004 #044014
triadic
#124004 #041240 #400412
tetradic
#124004 #043040 #320440 #401404
square
#124004 #043040 #320440 #401404
split-complementary
#124004 #140440 #400430
monochromatic
#081D02 #081D02 #124004 #227A08 #32B30B

Accessibility & contrast

On white

11.93
#124004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#124004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124004
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124004#FFFFFF#000000##FFFFFF
##1240041.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#3D350B
Tritanopia (blue-blind)
#0B3E35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #124004;
/* rgb */ color: rgb(18, 64, 4);
/* oklch */ color: oklch(32.7% 0.100 139.8);
Tailwind
colors: {
  custom: {
    50: '#58754a',
    500: '#124004',
    950: '#000000',
  },
}
SCSS
$custom: #124004;
$custom-light: #58754a;
$custom-dark: #000000;
JSON
{
  "hex": "#124004",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 4
  },
  "hsl": {
    "h": 106,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32721,
    "c": 0.09997,
    "h": 139.8
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#124004
secondary
#6A1F81
accent
#29FECD
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040801
muted
#797B77

Preview Lab

Preview with #124004

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

Preview Lab → · Contrast checker → · Palette generator →

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