#012F12#012F12

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

Color values

HEX#012F12
RGBrgb(1, 47, 18)
HSLhsl(142, 96%, 9%)
HSVhsv(142, 98%, 18%)
CMYKcmyk(97.9%, 0%, 61.7%, 81.6%)
CIE-LABlab(15.92, -23.18, 14.37)
CIE-LCHlch(15.92, 27.27, 148.21°)
OKLaboklab(26.74% -0.0621 0.0348)
OKLCHoklch(26.74% 0.071 150.7)
XYZxyz(1.1381, 2.0830, 0.9142)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F12 #2F011E
analogous
#072F01 #012F12 #012F29
triadic
#012F12 #12012F #2F1201
tetradic
#012F12 #01072F #2F011E #2F2901
square
#012F12 #01072F #2F011E #2F2901
split-complementary
#012F12 #29012F #2F0107
monochromatic
#011E0B #011E0B #012F12 #026B29 #04A740

Accessibility & contrast

On white

14.82
#012F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#012F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012F12
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012F12#FFFFFF#000000##FFFFFF
##012F121.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A10
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #012f12;
/* rgb */ color: rgb(1, 47, 18);
/* oklch */ color: oklch(26.7% 0.071 150.7);
Tailwind
colors: {
  custom: {
    50: '#4a6850',
    500: '#012f12',
    950: '#000000',
  },
}
SCSS
$custom: #012f12;
$custom-light: #4a6850;
$custom-dark: #000000;
JSON
{
  "hex": "#012f12",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 142.174,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2674,
    "c": 0.07121,
    "h": 150.7
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#012F12
secondary
#751752
accent
#29B0FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #012F12

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

Preview Lab → · Contrast checker → · Palette generator →

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