#123D22#123D22

#123D22 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.2% C 0.067 H 152.8°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#123D22
RGBrgb(18, 61, 34)
HSLhsl(142, 54%, 15%)
HSVhsv(142, 70%, 24%)
CMYKcmyk(70.5%, 0%, 44.3%, 76.1%)
CIE-LABlab(22.24, -22.17, 12.39)
CIE-LCHlch(22.24, 25.40, 150.80°)
OKLaboklab(32.2% -0.06 0.0309)
OKLCHoklch(32.2% 0.067 152.8)
XYZxyz(2.2068, 3.5814, 2.0880)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D22 #3D122D
analogous
#173D12 #123D22 #123D37
triadic
#123D22 #22123D #3D2212
tetradic
#123D22 #12173D #3D122D #3D3712
square
#123D22 #12173D #3D122D #3D3712
split-complementary
#123D22 #37123D #3D1217
monochromatic
#07180D #07180D #123D22 #206C3C #2E9C57

Accessibility & contrast

On white

12.23
#123D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#123D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123D22
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D22#FFFFFF#000000##FFFFFF
##123D221.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3820
Deuteranopia (green-blind)
#373424
Tritanopia (blue-blind)
#043C36
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123d22;
/* rgb */ color: rgb(18, 61, 34);
/* oklch */ color: oklch(32.2% 0.067 152.8);
Tailwind
colors: {
  custom: {
    50: '#55735d',
    500: '#123d22',
    950: '#000000',
  },
}
SCSS
$custom: #123d22;
$custom-light: #55735d;
$custom-dark: #000000;
JSON
{
  "hex": "#123d22",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 34
  },
  "hsl": {
    "h": 142.326,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.06749,
    "h": 152.8
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#123D22
secondary
#76355E
accent
#4AA7DE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #123D22

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

Preview Lab → · Contrast checker → · Palette generator →

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