#123C12#123C12

#123C12 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.6% C 0.083 H 143.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#123C12
RGBrgb(18, 60, 18)
HSLhsl(120, 54%, 15%)
HSVhsv(120, 70%, 24%)
CMYKcmyk(70%, 0%, 70%, 76.5%)
CIE-LABlab(21.59, -24.59, 21.25)
CIE-LCHlch(21.59, 32.51, 139.17°)
OKLaboklab(31.59% -0.0668 0.0498)
OKLCHoklch(31.59% 0.083 143.3)
XYZxyz(1.9744, 3.4038, 1.1251)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C12 #3C123C
analogous
#273C12 #123C12 #123C27
triadic
#123C12 #12123C #3C1212
tetradic
#123C12 #12273C #3C123C #3C2712
square
#123C12 #12273C #3C123C #3C2712
split-complementary
#123C12 #27123C #3C1227
monochromatic
#071807 #071807 #123C12 #206B20 #2E9A2E

Accessibility & contrast

On white

12.49
#123C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#123C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C12
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C12#FFFFFF#000000##FFFFFF
##123C121.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360D
Deuteranopia (green-blind)
#383215
Tritanopia (blue-blind)
#0A3A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123c12;
/* rgb */ color: rgb(18, 60, 18);
/* oklch */ color: oklch(31.6% 0.083 143.3);
Tailwind
colors: {
  custom: {
    50: '#567251',
    500: '#123c12',
    950: '#000000',
  },
}
SCSS
$custom: #123c12;
$custom-light: #567251;
$custom-dark: #000000;
JSON
{
  "hex": "#123c12",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.08335,
    "h": 143.3
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#123C12
secondary
#753575
accent
#4BDDDD
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030802
muted
#787B78

Preview Lab

Preview with #123C12

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

Preview Lab → · Contrast checker → · Palette generator →

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