#123F12#123F12

#123F12 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.5% C 0.088 H 143.2°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#123F12
RGBrgb(18, 63, 18)
HSLhsl(120, 56%, 16%)
HSVhsv(120, 71%, 25%)
CMYKcmyk(71.4%, 0%, 71.4%, 75.3%)
CIE-LABlab(22.75, -25.92, 22.56)
CIE-LCHlch(22.75, 34.36, 138.96°)
OKLaboklab(32.54% -0.0704 0.0526)
OKLCHoklch(32.54% 0.088 143.2)
XYZxyz(2.1360, 3.7271, 1.1790)
Luminance0.0373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F12 #3F123F
analogous
#283F12 #123F12 #123F28
triadic
#123F12 #12123F #3F1212
tetradic
#123F12 #12283F #3F123F #3F2812
square
#123F12 #12283F #3F123F #3F2812
split-complementary
#123F12 #28123F #3F1228
monochromatic
#071807 #071807 #123F12 #206F20 #2D9E2D

Accessibility & contrast

On white

12.03
#123F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F12
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F12#FFFFFF#000000##FFFFFF
##123F121.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40390D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#093D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123f12;
/* rgb */ color: rgb(18, 63, 18);
/* oklch */ color: oklch(32.5% 0.088 143.2);
Tailwind
colors: {
  custom: {
    50: '#577452',
    500: '#123f12',
    950: '#000000',
  },
}
SCSS
$custom: #123f12;
$custom-light: #577452;
$custom-dark: #000000;
JSON
{
  "hex": "#123f12",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.32541,
    "c": 0.08788,
    "h": 143.2
  },
  "luminance": 0.03727
}

Semantic roles & 50–950 ramp

primary
#123F12
secondary
#783578
accent
#49DFDF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #123F12

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

Preview Lab → · Contrast checker → · Palette generator →

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