#123104#123104

#123104 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.9% C 0.079 H 137.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#123104
RGBrgb(18, 49, 4)
HSLhsl(101, 85%, 10%)
HSVhsv(101, 92%, 19%)
CMYKcmyk(63.3%, 0%, 91.8%, 80.8%)
CIE-LABlab(17.15, -21.22, 22.51)
CIE-LCHlch(17.15, 30.94, 133.30°)
OKLaboklab(27.88% -0.0588 0.0534)
OKLCHoklch(27.88% 0.079 137.8)
XYZxyz(1.3696, 2.3339, 0.4932)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123104 #230431
analogous
#283104 #123104 #04310C
triadic
#123104 #041231 #310412
tetradic
#123104 #042831 #230431 #310C04
square
#123104 #042831 #230431 #310C04
split-complementary
#123104 #0C0431 #310428
monochromatic
#0A1C02 #0A1C02 #123104 #276A09 #3CA20D

Accessibility & contrast

On white

14.32
#123104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#123104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123104
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123104#FFFFFF#000000##FFFFFF
##1231041.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#102F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #123104;
/* rgb */ color: rgb(18, 49, 4);
/* oklch */ color: oklch(27.9% 0.079 137.8);
Tailwind
colors: {
  custom: {
    50: '#546949',
    500: '#123104',
    950: '#000000',
  },
}
SCSS
$custom: #123104;
$custom-light: #546949;
$custom-dark: #000000;
JSON
{
  "hex": "#123104",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 101.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27875,
    "c": 0.07939,
    "h": 137.8
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#123104
secondary
#591D73
accent
#2DFBBB
background
#F4F6F4
surface
#E8EBE7
border
#C4C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #123104

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

Preview Lab → · Contrast checker → · Palette generator →

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