#12280C#12280C

#12280C is a dark, muted green. Relative luminance 0.017; OKLCH L 25.0% C 0.057 H 139.4°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#12280C
RGBrgb(18, 40, 12)
HSLhsl(107, 54%, 10%)
HSVhsv(107, 70%, 16%)
CMYKcmyk(55%, 0%, 70%, 84.3%)
CIE-LABlab(13.67, -15.65, 14.78)
CIE-LCHlch(13.67, 21.53, 136.64°)
OKLaboklab(25.04% -0.0429 0.0369)
OKLCHoklch(25.04% 0.057 139.4)
XYZxyz(1.0746, 1.6727, 0.6140)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12280C #220C28
analogous
#20280C #12280C #0C2814
triadic
#12280C #0C1228 #280C12
tetradic
#12280C #0C2028 #220C28 #28140C
square
#12280C #0C2028 #220C28 #28140C
split-complementary
#12280C #140C28 #280C20
monochromatic
#0B1807 #0B1807 #12280C #27571A #3C8628

Accessibility & contrast

On white

15.74
#12280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#12280C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12280C
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12280C#FFFFFF#000000##FFFFFF
##12280C1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292409
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#102622
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #12280c;
/* rgb */ color: rgb(18, 40, 12);
/* oklch */ color: oklch(25.0% 0.057 139.4);
Tailwind
colors: {
  custom: {
    50: '#51624c',
    500: '#12280c',
    950: '#000000',
  },
}
SCSS
$custom: #12280c;
$custom-light: #51624c;
$custom-dark: #000000;
JSON
{
  "hex": "#12280c",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 107.143,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25044,
    "c": 0.05658,
    "h": 139.4
  },
  "luminance": 0.01673
}

Semantic roles & 50–950 ramp

primary
#12280C
secondary
#572D63
accent
#4BDDBE
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #12280C

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

Preview Lab → · Contrast checker → · Palette generator →

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