#123C22#123C22

#123C22 is a dark, moderate green. Relative luminance 0.035; OKLCH L 31.9% C 0.066 H 153.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#123C22
RGBrgb(18, 60, 34)
HSLhsl(143, 54%, 15%)
HSVhsv(143, 70%, 24%)
CMYKcmyk(70%, 0%, 43.3%, 76.5%)
CIE-LABlab(21.86, -21.68, 11.89)
CIE-LCHlch(21.86, 24.73, 151.26°)
OKLaboklab(31.89% -0.0587 0.0297)
OKLCHoklch(31.89% 0.066 153.2)
XYZxyz(2.1539, 3.4756, 2.0704)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C22 #3C122C
analogous
#173C12 #123C22 #123C37
triadic
#123C22 #22123C #3C2212
tetradic
#123C22 #12173C #3C122C #3C3712
square
#123C22 #12173C #3C122C #3C3712
split-complementary
#123C22 #37123C #3C1217
monochromatic
#07180D #07180D #123C22 #206B3D #2E9A57

Accessibility & contrast

On white

12.39
#123C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C22
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C22#FFFFFF#000000##FFFFFF
##123C221.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#363324
Tritanopia (blue-blind)
#043B35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123c22;
/* rgb */ color: rgb(18, 60, 34);
/* oklch */ color: oklch(31.9% 0.066 153.2);
Tailwind
colors: {
  custom: {
    50: '#55725d',
    500: '#123c22',
    950: '#000000',
  },
}
SCSS
$custom: #123c22;
$custom-light: #55725d;
$custom-dark: #000000;
JSON
{
  "hex": "#123c22",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 34
  },
  "hsl": {
    "h": 142.857,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31889,
    "c": 0.06579,
    "h": 153.2
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#123C22
secondary
#75355D
accent
#4BA5DD
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030804
muted
#787B79

Preview Lab

Preview with #123C22

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

Preview Lab → · Contrast checker → · Palette generator →

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