#123D27#123D27

#123D27 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.3% C 0.062 H 157.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#123D27
RGBrgb(18, 61, 39)
HSLhsl(149, 54%, 15%)
HSVhsv(149, 70%, 24%)
CMYKcmyk(70.5%, 0%, 36.1%, 76.1%)
CIE-LABlab(22.35, -20.99, 9.30)
CIE-LCHlch(22.35, 22.96, 156.11°)
OKLaboklab(32.33% -0.0572 0.0235)
OKLCHoklch(32.33% 0.062 157.6)
XYZxyz(2.2842, 3.6123, 2.4959)
Luminance0.0361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123D27 #3D1228
analogous
#133D12 #123D27 #123D3C
triadic
#123D27 #27123D #3D2712
tetradic
#123D27 #12133D #3D1228 #3D3C12
square
#123D27 #12133D #3D1228 #3D3C12
split-complementary
#123D27 #3C123D #3D1213
monochromatic
#07180F #07180F #123D27 #206C45 #2E9C63

Accessibility & contrast

On white

12.19
#123D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123D27
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123D27#FFFFFF#000000##FFFFFF
##123D271.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3826
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#013D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #123d27;
/* rgb */ color: rgb(18, 61, 39);
/* oklch */ color: oklch(32.3% 0.062 157.6);
Tailwind
colors: {
  custom: {
    50: '#557361',
    500: '#123d27',
    950: '#000000',
  },
}
SCSS
$custom: #123d27;
$custom-light: #557361;
$custom-dark: #000000;
JSON
{
  "hex": "#123d27",
  "rgb": {
    "r": 18,
    "g": 61,
    "b": 39
  },
  "hsl": {
    "h": 149.302,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.06185,
    "h": 157.6
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#123D27
secondary
#763556
accent
#4A96DE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #123D27

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

Preview Lab → · Contrast checker → · Palette generator →

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