#073A1F#073A1F

#073A1F is a dark, moderate green. Relative luminance 0.032; OKLCH L 30.8% C 0.071 H 154.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#073A1F
RGBrgb(7, 58, 31)
HSLhsl(148, 78%, 13%)
HSVhsv(148, 88%, 23%)
CMYKcmyk(87.9%, 0%, 46.6%, 77.3%)
CIE-LABlab(20.71, -23.80, 12.25)
CIE-LCHlch(20.71, 26.77, 152.76°)
OKLaboklab(30.84% -0.0641 0.0305)
OKLCHoklch(30.84% 0.071 154.6)
XYZxyz(1.8478, 3.1700, 1.8105)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#073A1F #3A0722
analogous
#093A07 #073A1F #073A38
triadic
#073A1F #1F073A #3A1F07
tetradic
#073A1F #07093A #3A0722 #3A3807
square
#073A1F #07093A #3A0722 #3A3807
split-complementary
#073A1F #38073A #3A0709
monochromatic
#031B0F #031B0F #073A1F #0E713C #14A759

Accessibility & contrast

On white

12.85
#073A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#073A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #073A1F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##073A1F#FFFFFF#000000##FFFFFF
##073A1F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341D
Deuteranopia (green-blind)
#343021
Tritanopia (blue-blind)
#003933
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #073a1f;
/* rgb */ color: rgb(7, 58, 31);
/* oklch */ color: oklch(30.8% 0.071 154.6);
Tailwind
colors: {
  custom: {
    50: '#50715b',
    500: '#073a1f',
    950: '#000000',
  },
}
SCSS
$custom: #073a1f;
$custom-light: #50715b;
$custom-dark: #000000;
JSON
{
  "hex": "#073a1f",
  "rgb": {
    "r": 7,
    "g": 58,
    "b": 31
  },
  "hsl": {
    "h": 148.235,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30838,
    "c": 0.071,
    "h": 154.6
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#073A1F
secondary
#792351
accent
#339AF5
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #073A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#073A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva