#123F0B#123F0B

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

Color values

HEX#123F0B
RGBrgb(18, 63, 11)
HSLhsl(112, 70%, 15%)
HSVhsv(112, 83%, 25%)
CMYKcmyk(71.4%, 0%, 82.5%, 75.3%)
CIE-LABlab(22.68, -26.71, 25.91)
CIE-LCHlch(22.68, 37.21, 135.86°)
OKLaboklab(32.46% -0.073 0.0587)
OKLCHoklch(32.46% 0.094 141.2)
XYZxyz(2.0873, 3.7076, 0.9222)
Luminance0.0371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F0B #380B3F
analogous
#2C3F0B #123F0B #0B3F1E
triadic
#123F0B #0B123F #3F0B12
tetradic
#123F0B #0B2C3F #380B3F #3F1E0B
square
#123F0B #0B2C3F #380B3F #3F1E0B
split-complementary
#123F0B #1E0B3F #3F0B2C
monochromatic
#071A05 #071A05 #123F0B #217314 #30A71D

Accessibility & contrast

On white

12.06
#123F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F0B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F0B#FFFFFF#000000##FFFFFF
##123F0B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413804
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#0A3D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123f0b;
/* rgb */ color: rgb(18, 63, 11);
/* oklch */ color: oklch(32.5% 0.094 141.2);
Tailwind
colors: {
  custom: {
    50: '#57744e',
    500: '#123f0b',
    950: '#000000',
  },
}
SCSS
$custom: #123f0b;
$custom-light: #57744e;
$custom-dark: #000000;
JSON
{
  "hex": "#123f0b",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 111.923,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32463,
    "c": 0.09367,
    "h": 141.2
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#123F0B
secondary
#712A7C
accent
#3BEDD5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #123F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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