#012F0F#012F0F

#012F0F is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.074 H 148.8°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#012F0F
RGBrgb(1, 47, 15)
HSLhsl(138, 96%, 9%)
HSVhsv(138, 98%, 18%)
CMYKcmyk(97.9%, 0%, 68.1%, 81.6%)
CIE-LABlab(15.87, -23.75, 16.01)
CIE-LCHlch(15.87, 28.65, 146.01°)
OKLaboklab(26.69% -0.0637 0.0386)
OKLCHoklch(26.69% 0.074 148.8)
XYZxyz(1.1152, 2.0738, 0.7934)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F0F #2F0121
analogous
#0A2F01 #012F0F #012F26
triadic
#012F0F #0F012F #2F0F01
tetradic
#012F0F #010A2F #2F0121 #2F2601
square
#012F0F #010A2F #2F0121 #2F2601
split-complementary
#012F0F #26012F #2F010A
monochromatic
#011E0A #011E0A #012F0F #026B22 #04A735

Accessibility & contrast

On white

14.84
#012F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012F0F
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012F0F#FFFFFF#000000##FFFFFF
##012F0F1.0014.841.4114.84
#FFFFFF14.841.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#2A2612
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #012f0f;
/* rgb */ color: rgb(1, 47, 15);
/* oklch */ color: oklch(26.7% 0.074 148.8);
Tailwind
colors: {
  custom: {
    50: '#4b684e',
    500: '#012f0f',
    950: '#000000',
  },
}
SCSS
$custom: #012f0f;
$custom-light: #4b684e;
$custom-dark: #000000;
JSON
{
  "hex": "#012f0f",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 15
  },
  "hsl": {
    "h": 138.261,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26686,
    "c": 0.07445,
    "h": 148.8
  },
  "luminance": 0.02074
}

Semantic roles & 50–950 ramp

primary
#012F0F
secondary
#751758
accent
#29BEFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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