#123404#123404

#123404 is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.9% C 0.084 H 138.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#123404
RGBrgb(18, 52, 4)
HSLhsl(103, 86%, 11%)
HSVhsv(103, 92%, 20%)
CMYKcmyk(65.4%, 0%, 92.3%, 79.6%)
CIE-LABlab(18.34, -22.60, 23.94)
CIE-LCHlch(18.34, 32.92, 133.35°)
OKLaboklab(28.85% -0.0625 0.0557)
OKLCHoklch(28.85% 0.084 138.3)
XYZxyz(1.4993, 2.5932, 0.5364)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123404 #260434
analogous
#2A3404 #123404 #04340E
triadic
#123404 #041234 #340412
tetradic
#123404 #042A34 #260434 #340E04
square
#123404 #042A34 #260434 #340E04
split-complementary
#123404 #0E0434 #34042A
monochromatic
#0A1C02 #0A1C02 #123404 #266D08 #39A60D

Accessibility & contrast

On white

13.83
#123404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#123404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123404
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123404#FFFFFF#000000##FFFFFF
##1234041.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#0F322B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #123404;
/* rgb */ color: rgb(18, 52, 4);
/* oklch */ color: oklch(28.9% 0.084 138.3);
Tailwind
colors: {
  custom: {
    50: '#546c49',
    500: '#123404',
    950: '#000000',
  },
}
SCSS
$custom: #123404;
$custom-light: #546c49;
$custom-dark: #000000;
JSON
{
  "hex": "#123404",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 102.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28853,
    "c": 0.08369,
    "h": 138.3
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#123404
secondary
#5C1E76
accent
#2CFCBF
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123404

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

Preview Lab → · Contrast checker → · Palette generator →

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