#123D0B#123D0B

#123D0B is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.8% C 0.091 H 141.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#123D0B
RGBrgb(18, 61, 11)
HSLhsl(112, 69%, 14%)
HSVhsv(112, 82%, 24%)
CMYKcmyk(70.5%, 0%, 82%, 76.1%)
CIE-LABlab(21.91, -25.86, 25.10)
CIE-LCHlch(21.91, 36.04, 135.85°)
OKLaboklab(31.83% -0.0707 0.0571)
OKLCHoklch(31.83% 0.091 141.1)
XYZxyz(1.9785, 3.4901, 0.8859)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D0B #360B3D
analogous
#2B3D0B #123D0B #0B3D1D
triadic
#123D0B #0B123D #3D0B12
tetradic
#123D0B #0B2B3D #360B3D #3D1D0B
square
#123D0B #0B2B3D #360B3D #3D1D0B
split-complementary
#123D0B #1D0B3D #3D0B2B
monochromatic
#081A05 #081A05 #123D0B #217114 #31A51E

Accessibility & contrast

On white

12.37
#123D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D0B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D0B#FFFFFF#000000##FFFFFF
##123D0B1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3704
Deuteranopia (green-blind)
#3A3310
Tritanopia (blue-blind)
#0B3B33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123d0b;
/* rgb */ color: rgb(18, 61, 11);
/* oklch */ color: oklch(31.8% 0.091 141.1);
Tailwind
colors: {
  custom: {
    50: '#57734d',
    500: '#123d0b',
    950: '#000000',
  },
}
SCSS
$custom: #123d0b;
$custom-light: #57734d;
$custom-dark: #000000;
JSON
{
  "hex": "#123d0b",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 111.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31825,
    "c": 0.09084,
    "h": 141.1
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#123D0B
secondary
#6F2A7A
accent
#3CECD4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #123D0B

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

Preview Lab → · Contrast checker → · Palette generator →

#123D0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva