#12280B#12280B

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

Color values

HEX#12280B
RGBrgb(18, 40, 11)
HSLhsl(106, 57%, 10%)
HSVhsv(106, 73%, 16%)
CMYKcmyk(55%, 0%, 72.5%, 84.3%)
CIE-LABlab(13.65, -15.80, 15.21)
CIE-LCHlch(13.65, 21.93, 136.10°)
OKLaboklab(25.03% -0.0434 0.038)
OKLCHoklch(25.03% 0.058 138.8)
XYZxyz(1.0686, 1.6703, 0.5826)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12280B #210B28
analogous
#21280B #12280B #0B2812
triadic
#12280B #0B1228 #280B12
tetradic
#12280B #0B2128 #210B28 #28120B
square
#12280B #0B2128 #210B28 #28120B
split-complementary
#12280B #120B28 #280B21
monochromatic
#0B1807 #0B1807 #12280B #285818 #3D8825

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12280B#FFFFFF#000000##FFFFFF
##12280B1.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)
#292408
Deuteranopia (green-blind)
#26220D
Tritanopia (blue-blind)
#102622
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #12280b;
/* rgb */ color: rgb(18, 40, 11);
/* oklch */ color: oklch(25.0% 0.058 138.8);
Tailwind
colors: {
  custom: {
    50: '#51624c',
    500: '#12280b',
    950: '#000000',
  },
}
SCSS
$custom: #12280b;
$custom-light: #51624c;
$custom-dark: #000000;
JSON
{
  "hex": "#12280b",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 105.517,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.25028,
    "c": 0.05771,
    "h": 138.8
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#12280B
secondary
#562B64
accent
#48E0BB
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #12280B

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

Preview Lab → · Contrast checker → · Palette generator →

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