#123808#123808

#123808 is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.086 H 140.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#123808
RGBrgb(18, 56, 8)
HSLhsl(108, 75%, 13%)
HSVhsv(108, 86%, 22%)
CMYKcmyk(67.9%, 0%, 85.7%, 78%)
CIE-LABlab(19.94, -23.97, 24.17)
CIE-LCHlch(19.94, 34.04, 134.76°)
OKLaboklab(30.19% -0.0658 0.0553)
OKLCHoklch(30.19% 0.086 140)
XYZxyz(1.7074, 2.9743, 0.7138)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123808 #2E0838
analogous
#2A3808 #123808 #083816
triadic
#123808 #081238 #380812
tetradic
#123808 #082A38 #2E0838 #381608
square
#123808 #082A38 #2E0838 #381608
split-complementary
#123808 #160838 #38082A
monochromatic
#091B04 #091B04 #123808 #236E10 #34A317

Accessibility & contrast

On white

13.17
#123808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#123808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123808
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123808#FFFFFF#000000##FFFFFF
##1238081.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3202
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#0D362F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #123808;
/* rgb */ color: rgb(18, 56, 8);
/* oklch */ color: oklch(30.2% 0.086 140.0);
Tailwind
colors: {
  custom: {
    50: '#556f4b',
    500: '#123808',
    950: '#000000',
  },
}
SCSS
$custom: #123808;
$custom-light: #556f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#123808",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 8
  },
  "hsl": {
    "h": 107.5,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.3019,
    "c": 0.08596,
    "h": 140
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#123808
secondary
#662577
accent
#36F2CB
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #123808

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

Preview Lab → · Contrast checker → · Palette generator →

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