#12301C#12301C

#12301C is a dark, muted green. Relative luminance 0.023; OKLCH L 28.0% C 0.052 H 152.5°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#12301C
RGBrgb(18, 48, 28)
HSLhsl(140, 45%, 13%)
HSVhsv(140, 63%, 19%)
CMYKcmyk(62.5%, 0%, 41.7%, 81.2%)
CIE-LABlab(17.11, -16.87, 9.50)
CIE-LCHlch(17.11, 19.36, 150.63°)
OKLaboklab(27.96% -0.0459 0.0239)
OKLCHoklch(27.96% 0.052 152.5)
XYZxyz(1.5159, 2.3262, 1.4675)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12301C #301226
analogous
#173012 #12301C #12302B
triadic
#12301C #1C1230 #301C12
tetradic
#12301C #121730 #301226 #302B12
square
#12301C #121730 #301226 #302B12
split-complementary
#12301C #2B1230 #301217
monochromatic
#08160D #08160D #12301C #235D36 #338950

Accessibility & contrast

On white

14.33
#12301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#12301C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12301C
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12301C#FFFFFF#000000##FFFFFF
##12301C1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1B
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#0B2F2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #12301c;
/* rgb */ color: rgb(18, 48, 28);
/* oklch */ color: oklch(28.0% 0.052 152.5);
Tailwind
colors: {
  custom: {
    50: '#536858',
    500: '#12301c',
    950: '#000000',
  },
}
SCSS
$custom: #12301c;
$custom-light: #536858;
$custom-dark: #000000;
JSON
{
  "hex": "#12301c",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 140,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.27961,
    "c": 0.05171,
    "h": 152.5
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#12301C
secondary
#683657
accent
#53AAD5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #12301C

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

Preview Lab → · Contrast checker → · Palette generator →

#12301C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva