#123408#123408

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

Color values

HEX#123408
RGBrgb(18, 52, 8)
HSLhsl(106, 73%, 12%)
HSVhsv(106, 85%, 20%)
CMYKcmyk(65.4%, 0%, 84.6%, 79.6%)
CIE-LABlab(18.37, -22.16, 22.36)
CIE-LCHlch(18.37, 31.48, 134.75°)
OKLaboklab(28.9% -0.0609 0.052)
OKLCHoklch(28.9% 0.08 139.5)
XYZxyz(1.5212, 2.6020, 0.6518)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123408 #2A0834
analogous
#283408 #123408 #083414
triadic
#123408 #081234 #340812
tetradic
#123408 #082834 #2A0834 #341408
square
#123408 #082834 #2A0834 #341408
split-complementary
#123408 #140834 #340828
monochromatic
#091B04 #091B04 #123408 #246910 #379E18

Accessibility & contrast

On white

13.81
#123408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123408
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123408#FFFFFF#000000##FFFFFF
##1234081.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F03
Deuteranopia (green-blind)
#312C0C
Tritanopia (blue-blind)
#0E322B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #123408;
/* rgb */ color: rgb(18, 52, 8);
/* oklch */ color: oklch(28.9% 0.080 139.5);
Tailwind
colors: {
  custom: {
    50: '#546c4b',
    500: '#123408',
    950: '#000000',
  },
}
SCSS
$custom: #123408;
$custom-light: #546c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#123408",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 106.364,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28897,
    "c": 0.08009,
    "h": 139.5
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#123408
secondary
#612573
accent
#38F0C6
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123408

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

Preview Lab → · Contrast checker → · Palette generator →

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