#123B23#123B23

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

Color values

HEX#123B23
RGBrgb(18, 59, 35)
HSLhsl(145, 53%, 15%)
HSVhsv(145, 69%, 23%)
CMYKcmyk(69.5%, 0%, 40.7%, 76.9%)
CIE-LABlab(21.50, -20.95, 10.76)
CIE-LCHlch(21.50, 23.56, 152.82°)
OKLaboklab(31.6% -0.0568 0.027)
OKLCHoklch(31.6% 0.063 154.6)
XYZxyz(2.1166, 3.3777, 2.1302)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B23 #3B122A
analogous
#153B12 #123B23 #123B37
triadic
#123B23 #23123B #3B2312
tetradic
#123B23 #12153B #3B122A #3B3712
square
#123B23 #12153B #3B122A #3B3712
split-complementary
#123B23 #37123B #3B1215
monochromatic
#07170E #07170E #123B23 #206A3F #2F995B

Accessibility & contrast

On white

12.53
#123B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123B23
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B23#FFFFFF#000000##FFFFFF
##123B231.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3621
Deuteranopia (green-blind)
#353225
Tritanopia (blue-blind)
#043A35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123b23;
/* rgb */ color: rgb(18, 59, 35);
/* oklch */ color: oklch(31.6% 0.063 154.6);
Tailwind
colors: {
  custom: {
    50: '#55715e',
    500: '#123b23',
    950: '#000000',
  },
}
SCSS
$custom: #123b23;
$custom-light: #55715e;
$custom-dark: #000000;
JSON
{
  "hex": "#123b23",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 35
  },
  "hsl": {
    "h": 144.878,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.31601,
    "c": 0.06294,
    "h": 154.6
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#123B23
secondary
#74355A
accent
#4BA0DD
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #123B23

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

Preview Lab → · Contrast checker → · Palette generator →

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