#012F0B#012F0B

#012F0B is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.6% C 0.078 H 146.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#012F0B
RGBrgb(1, 47, 11)
HSLhsl(133, 96%, 9%)
HSVhsv(133, 98%, 18%)
CMYKcmyk(97.9%, 0%, 76.6%, 81.6%)
CIE-LABlab(15.82, -24.41, 17.87)
CIE-LCHlch(15.82, 30.25, 143.80°)
OKLaboklab(26.62% -0.0655 0.0431)
OKLCHoklch(26.62% 0.078 146.7)
XYZxyz(1.0894, 2.0635, 0.6574)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F0B #2F0125
analogous
#0E2F01 #012F0B #012F22
triadic
#012F0B #0B012F #2F0B01
tetradic
#012F0B #010E2F #2F0125 #2F2201
square
#012F0B #010E2F #2F0125 #2F2201
split-complementary
#012F0B #22012F #2F010E
monochromatic
#011E07 #011E07 #012F0B #026B19 #04A727

Accessibility & contrast

On white

14.86
#012F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#012F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012F0B
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012F0B#FFFFFF#000000##FFFFFF
##012F0B1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2B260E
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #012f0b;
/* rgb */ color: rgb(1, 47, 11);
/* oklch */ color: oklch(26.6% 0.078 146.7);
Tailwind
colors: {
  custom: {
    50: '#4b684c',
    500: '#012f0b',
    950: '#000000',
  },
}
SCSS
$custom: #012f0b;
$custom-light: #4b684c;
$custom-dark: #000000;
JSON
{
  "hex": "#012f0b",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 133.043,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26624,
    "c": 0.07844,
    "h": 146.7
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#012F0B
secondary
#751760
accent
#29D0FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012F0B

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

Preview Lab → · Contrast checker → · Palette generator →

#012F0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva