#123A24#123A24

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

Color values

HEX#123A24
RGBrgb(18, 58, 36)
HSLhsl(147, 53%, 15%)
HSVhsv(147, 69%, 23%)
CMYKcmyk(69%, 0%, 37.9%, 77.3%)
CIE-LABlab(21.14, -20.21, 9.62)
CIE-LCHlch(21.14, 22.38, 154.54°)
OKLaboklab(31.32% -0.055 0.0243)
OKLCHoklch(31.32% 0.06 156.2)
XYZxyz(2.0808, 3.2819, 2.1925)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A24 #3A1228
analogous
#143A12 #123A24 #123A38
triadic
#123A24 #24123A #3A2412
tetradic
#123A24 #12143A #3A1228 #3A3812
square
#123A24 #12143A #3A1228 #3A3812
split-complementary
#123A24 #38123A #3A1214
monochromatic
#07170E #07170E #123A24 #206941 #2F975E

Accessibility & contrast

On white

12.68
#123A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#123A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A24
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A24#FFFFFF#000000##FFFFFF
##123A241.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3523
Deuteranopia (green-blind)
#343125
Tritanopia (blue-blind)
#043934
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #123a24;
/* rgb */ color: rgb(18, 58, 36);
/* oklch */ color: oklch(31.3% 0.060 156.2);
Tailwind
colors: {
  custom: {
    50: '#55705e',
    500: '#123a24',
    950: '#000000',
  },
}
SCSS
$custom: #123a24;
$custom-light: #55705e;
$custom-dark: #000000;
JSON
{
  "hex": "#123a24",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 36
  },
  "hsl": {
    "h": 147,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31315,
    "c": 0.06011,
    "h": 156.2
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#123A24
secondary
#733557
accent
#4C9BDC
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030704
muted
#787A79

Preview Lab

Preview with #123A24

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

Preview Lab → · Contrast checker → · Palette generator →

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