#072A01#072A01

#072A01 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.079 H 140.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#072A01
RGBrgb(7, 42, 1)
HSLhsl(111, 95%, 8%)
HSVhsv(111, 98%, 16%)
CMYKcmyk(83.3%, 0%, 97.6%, 83.5%)
CIE-LABlab(13.85, -22.05, 19.45)
CIE-LCHlch(13.85, 29.40, 138.58°)
OKLaboklab(25.01% -0.0605 0.0504)
OKLCHoklch(25.01% 0.079 140.2)
XYZxyz(0.9210, 1.7032, 0.3089)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A01 #24012A
analogous
#1B2A01 #072A01 #012A0F
triadic
#072A01 #01072A #2A0107
tetradic
#072A01 #011B2A #24012A #2A0F01
square
#072A01 #011B2A #24012A #2A0F01
split-complementary
#072A01 #0F012A #2A011B
monochromatic
#051E01 #051E01 #072A01 #116602 #1BA204

Accessibility & contrast

On white

15.66
#072A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#072A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A01
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A01#FFFFFF#000000##FFFFFF
##072A011.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#032822
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072a01;
/* rgb */ color: rgb(7, 42, 1);
/* oklch */ color: oklch(25.0% 0.079 140.2);
Tailwind
colors: {
  custom: {
    50: '#4b6447',
    500: '#072a01',
    950: '#000000',
  },
}
SCSS
$custom: #072a01;
$custom-light: #4b6447;
$custom-dark: #000000;
JSON
{
  "hex": "#072a01",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 111.22,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25009,
    "c": 0.07876,
    "h": 140.2
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#072A01
secondary
#631670
accent
#29FFE0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #072A01

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

Preview Lab → · Contrast checker → · Palette generator →

#072A01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva