#012F08#012F08

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

Color values

HEX#012F08
RGBrgb(1, 47, 8)
HSLhsl(129, 96%, 9%)
HSVhsv(129, 98%, 18%)
CMYKcmyk(97.9%, 0%, 83%, 81.6%)
CIE-LABlab(15.78, -24.84, 19.06)
CIE-LCHlch(15.78, 31.31, 142.50°)
OKLaboklab(26.58% -0.0669 0.0461)
OKLCHoklch(26.58% 0.081 145.4)
XYZxyz(1.0728, 2.0569, 0.5702)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012F08 #2F0128
analogous
#112F01 #012F08 #012F1F
triadic
#012F08 #08012F #2F0801
tetradic
#012F08 #01112F #2F0128 #2F1F01
square
#012F08 #01112F #2F0128 #2F1F01
split-complementary
#012F08 #1F012F #2F0111
monochromatic
#011E05 #011E05 #012F08 #026B12 #04A71C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##012F08#FFFFFF#000000##FFFFFF
##012F081.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)
#302904
Deuteranopia (green-blind)
#2B260C
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #012f08;
/* rgb */ color: rgb(1, 47, 8);
/* oklch */ color: oklch(26.6% 0.081 145.4);
Tailwind
colors: {
  custom: {
    50: '#4b684a',
    500: '#012f08',
    950: '#000000',
  },
}
SCSS
$custom: #012f08;
$custom-light: #4b684a;
$custom-dark: #000000;
JSON
{
  "hex": "#012f08",
  "rgb": {
    "r": 1,
    "g": 47,
    "b": 8
  },
  "hsl": {
    "h": 129.13,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26585,
    "c": 0.08122,
    "h": 145.4
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#012F08
secondary
#751767
accent
#29DEFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012F08

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

Preview Lab → · Contrast checker → · Palette generator →

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