#123C0F#123C0F

#123C0F is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.5% C 0.086 H 142.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#123C0F
RGBrgb(18, 60, 15)
HSLhsl(116, 60%, 15%)
HSVhsv(116, 75%, 24%)
CMYKcmyk(70%, 0%, 75%, 76.5%)
CIE-LABlab(21.56, -24.98, 22.82)
CIE-LCHlch(21.56, 33.83, 137.60°)
OKLaboklab(31.55% -0.068 0.0528)
OKLCHoklch(31.55% 0.086 142.2)
XYZxyz(1.9514, 3.3946, 1.0042)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C0F #390F3C
analogous
#293C0F #123C0F #0F3C23
triadic
#123C0F #0F123C #3C0F12
tetradic
#123C0F #0F293C #390F3C #3C230F
square
#123C0F #0F293C #390F3C #3C230F
split-complementary
#123C0F #230F3C #3C0F29
monochromatic
#071806 #071806 #123C0F #216D1B #2F9E27

Accessibility & contrast

On white

12.51
#123C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123C0F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C0F#FFFFFF#000000##FFFFFF
##123C0F1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3609
Deuteranopia (green-blind)
#383213
Tritanopia (blue-blind)
#0B3A33
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123c0f;
/* rgb */ color: rgb(18, 60, 15);
/* oklch */ color: oklch(31.5% 0.086 142.2);
Tailwind
colors: {
  custom: {
    50: '#56724f',
    500: '#123c0f',
    950: '#000000',
  },
}
SCSS
$custom: #123c0f;
$custom-light: #56724f;
$custom-dark: #000000;
JSON
{
  "hex": "#123c0f",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 116,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31549,
    "c": 0.08612,
    "h": 142.2
  },
  "luminance": 0.03395
}

Semantic roles & 50–950 ramp

primary
#123C0F
secondary
#723076
accent
#45E3D9
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030802
muted
#787B78

Preview Lab

Preview with #123C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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