#123A22#123A22

#123A22 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.3% C 0.062 H 154.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#123A22
RGBrgb(18, 58, 34)
HSLhsl(144, 53%, 15%)
HSVhsv(144, 69%, 23%)
CMYKcmyk(69%, 0%, 41.4%, 77.3%)
CIE-LABlab(21.09, -20.68, 10.87)
CIE-LCHlch(21.09, 23.37, 152.28°)
OKLaboklab(31.26% -0.0561 0.0273)
OKLCHoklch(31.26% 0.062 154.1)
XYZxyz(2.0511, 3.2700, 2.0361)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A22 #3A122A
analogous
#163A12 #123A22 #123A36
triadic
#123A22 #22123A #3A2212
tetradic
#123A22 #12163A #3A122A #3A3612
square
#123A22 #12163A #3A122A #3A3612
split-complementary
#123A22 #36123A #3A1216
monochromatic
#07170E #07170E #123A22 #20693D #2F9759

Accessibility & contrast

On white

12.70
#123A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#123A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A22
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A22#FFFFFF#000000##FFFFFF
##123A221.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3520
Deuteranopia (green-blind)
#353124
Tritanopia (blue-blind)
#053934
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a22;
/* rgb */ color: rgb(18, 58, 34);
/* oklch */ color: oklch(31.3% 0.062 154.1);
Tailwind
colors: {
  custom: {
    50: '#55705d',
    500: '#123a22',
    950: '#000000',
  },
}
SCSS
$custom: #123a22;
$custom-light: #55705d;
$custom-dark: #000000;
JSON
{
  "hex": "#123a22",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 144,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.06239,
    "h": 154.1
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#123A22
secondary
#73355A
accent
#4CA2DC
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #123A22

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

Preview Lab → · Contrast checker → · Palette generator →

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