#123F22#123F22

#123F22 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.071 H 152.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#123F22
RGBrgb(18, 63, 34)
HSLhsl(141, 56%, 16%)
HSVhsv(141, 71%, 25%)
CMYKcmyk(71.4%, 0%, 46%, 75.3%)
CIE-LABlab(23.00, -23.14, 13.39)
CIE-LCHlch(23.00, 26.73, 149.94°)
OKLaboklab(32.82% -0.0625 0.0333)
OKLCHoklch(32.82% 0.071 152)
XYZxyz(2.3155, 3.7989, 2.1243)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F22 #3F122F
analogous
#183F12 #123F22 #123F38
triadic
#123F22 #22123F #3F2212
tetradic
#123F22 #12183F #3F122F #3F3812
square
#123F22 #12183F #3F122F #3F3812
split-complementary
#123F22 #38123F #3F1218
monochromatic
#07180D #07180D #123F22 #206F3C #2D9E55

Accessibility & contrast

On white

11.93
#123F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F22
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F22#FFFFFF#000000##FFFFFF
##123F221.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3920
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#033E38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123f22;
/* rgb */ color: rgb(18, 63, 34);
/* oklch */ color: oklch(32.8% 0.071 152.0);
Tailwind
colors: {
  custom: {
    50: '#56745d',
    500: '#123f22',
    950: '#000000',
  },
}
SCSS
$custom: #123f22;
$custom-light: #56745d;
$custom-dark: #000000;
JSON
{
  "hex": "#123f22",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 34
  },
  "hsl": {
    "h": 141.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.32825,
    "c": 0.07083,
    "h": 152
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#123F22
secondary
#783560
accent
#49AADF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #123F22

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

Preview Lab → · Contrast checker → · Palette generator →

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