#072F03#072F03

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

Color values

HEX#072F03
RGBrgb(7, 47, 3)
HSLhsl(115, 88%, 10%)
HSVhsv(115, 94%, 18%)
CMYKcmyk(85.1%, 0%, 93.6%, 81.6%)
CIE-LABlab(15.93, -23.81, 21.31)
CIE-LCHlch(15.93, 31.96, 138.17°)
OKLaboklab(26.74% -0.065 0.0519)
OKLCHoklch(26.74% 0.083 141.4)
XYZxyz(1.1205, 2.0847, 0.4295)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F03 #2B032F
analogous
#1D2F03 #072F03 #032F15
triadic
#072F03 #03072F #2F0307
tetradic
#072F03 #031D2F #2B032F #2F1503
square
#072F03 #031D2F #2B032F #2F1503
split-complementary
#072F03 #15032F #2F031D
monochromatic
#041D02 #041D02 #072F03 #106907 #18A20A

Accessibility & contrast

On white

14.82
#072F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#072F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F03
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F03#FFFFFF#000000##FFFFFF
##072F031.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)
#302A00
Deuteranopia (green-blind)
#2C2607
Tritanopia (blue-blind)
#012D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f03;
/* rgb */ color: rgb(7, 47, 3);
/* oklch */ color: oklch(26.7% 0.083 141.4);
Tailwind
colors: {
  custom: {
    50: '#4d6848',
    500: '#072f03',
    950: '#000000',
  },
}
SCSS
$custom: #072f03;
$custom-light: #4d6848;
$custom-dark: #000000;
JSON
{
  "hex": "#072f03",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 3
  },
  "hsl": {
    "h": 114.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26743,
    "c": 0.08319,
    "h": 141.4
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#072F03
secondary
#6B1B73
accent
#2AFEEB
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #072F03

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

Preview Lab → · Contrast checker → · Palette generator →

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