#01280F#01280F

#01280F is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.064 H 151.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#01280F
RGBrgb(1, 40, 15)
HSLhsl(142, 95%, 8%)
HSVhsv(142, 98%, 16%)
CMYKcmyk(97.5%, 0%, 62.5%, 84.3%)
CIE-LABlab(12.97, -20.80, 12.25)
CIE-LCHlch(12.97, 24.14, 149.51°)
OKLaboklab(24.28% -0.0557 0.0307)
OKLCHoklch(24.28% 0.064 151.1)
XYZxyz(0.8575, 1.5584, 0.7075)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01280F #28011A
analogous
#072801 #01280F #012822
triadic
#01280F #0F0128 #280F01
tetradic
#01280F #010728 #28011A #282201
square
#01280F #010728 #28011A #282201
split-complementary
#01280F #220128 #280107
monochromatic
#011E0B #011E0B #01280F #026425 #049F3C

Accessibility & contrast

On white

16.01
#01280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#01280F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01280F
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01280F#FFFFFF#000000##FFFFFF
##01280F1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230D
Deuteranopia (green-blind)
#242011
Tritanopia (blue-blind)
#002722
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01280f;
/* rgb */ color: rgb(1, 40, 15);
/* oklch */ color: oklch(24.3% 0.064 151.1);
Tailwind
colors: {
  custom: {
    50: '#48624e',
    500: '#01280f',
    950: '#000000',
  },
}
SCSS
$custom: #01280f;
$custom-light: #48624e;
$custom-dark: #000000;
JSON
{
  "hex": "#01280f",
  "rgb": {
    "r": 1,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 141.538,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24281,
    "c": 0.06366,
    "h": 151.1
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#01280F
secondary
#6F164F
accent
#29B2FF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010501
muted
#777977

Preview Lab

Preview with #01280F

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

Preview Lab → · Contrast checker → · Palette generator →

#01280F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva