#012F07#012F07

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

Color values

HEX#012F07
RGBrgb(1, 47, 7)
HSLhsl(128, 96%, 9%)
HSVhsv(128, 98%, 18%)
CMYKcmyk(97.9%, 0%, 85.1%, 81.6%)
CIE-LABlab(15.77, -24.98, 19.45)
CIE-LCHlch(15.77, 31.66, 142.10°)
OKLaboklab(26.57% -0.0673 0.0472)
OKLCHoklch(26.57% 0.082 145)
XYZxyz(1.0673, 2.0547, 0.5413)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F07 #2F0129
analogous
#122F01 #012F07 #012F1E
triadic
#012F07 #07012F #2F0701
tetradic
#012F07 #01122F #2F0129 #2F1E01
square
#012F07 #01122F #2F0129 #2F1E01
split-complementary
#012F07 #1E012F #2F0112
monochromatic
#011E04 #011E04 #012F07 #026B10 #04A719

Accessibility & contrast

On white

14.88
#012F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012F07
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012F07#FFFFFF#000000##FFFFFF
##012F071.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302903
Deuteranopia (green-blind)
#2B260B
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #012f07;
/* rgb */ color: rgb(1, 47, 7);
/* oklch */ color: oklch(26.6% 0.082 145.0);
Tailwind
colors: {
  custom: {
    50: '#4b684a',
    500: '#012f07',
    950: '#000000',
  },
}
SCSS
$custom: #012f07;
$custom-light: #4b684a;
$custom-dark: #000000;
JSON
{
  "hex": "#012f07",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 127.826,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26572,
    "c": 0.08216,
    "h": 145
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#012F07
secondary
#751769
accent
#29E3FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012F07

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

Preview Lab → · Contrast checker → · Palette generator →

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