#123B22#123B22

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

Color values

HEX#123B22
RGBrgb(18, 59, 34)
HSLhsl(143, 53%, 15%)
HSVhsv(143, 69%, 23%)
CMYKcmyk(69.5%, 0%, 42.4%, 76.9%)
CIE-LABlab(21.48, -21.19, 11.38)
CIE-LCHlch(21.48, 24.05, 151.76°)
OKLaboklab(31.58% -0.0574 0.0285)
OKLCHoklch(31.58% 0.064 153.6)
XYZxyz(2.1020, 3.3718, 2.0531)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B22 #3B122B
analogous
#163B12 #123B22 #123B37
triadic
#123B22 #22123B #3B2212
tetradic
#123B22 #12163B #3B122B #3B3712
square
#123B22 #12163B #3B122B #3B3712
split-complementary
#123B22 #37123B #3B1216
monochromatic
#07170E #07170E #123B22 #206A3D #2F9958

Accessibility & contrast

On white

12.54
#123B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#123B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B22
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B22#FFFFFF#000000##FFFFFF
##123B221.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3620
Deuteranopia (green-blind)
#353224
Tritanopia (blue-blind)
#053A35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123b22;
/* rgb */ color: rgb(18, 59, 34);
/* oklch */ color: oklch(31.6% 0.064 153.6);
Tailwind
colors: {
  custom: {
    50: '#55715d',
    500: '#123b22',
    950: '#000000',
  },
}
SCSS
$custom: #123b22;
$custom-light: #55715d;
$custom-dark: #000000;
JSON
{
  "hex": "#123b22",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 34
  },
  "hsl": {
    "h": 143.415,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.31577,
    "c": 0.0641,
    "h": 153.6
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#123B22
secondary
#74355B
accent
#4BA4DD
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030804
muted
#787B79

Preview Lab

Preview with #123B22

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

Preview Lab → · Contrast checker → · Palette generator →

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