#072F02#072F02

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

Color values

HEX#072F02
RGBrgb(7, 47, 2)
HSLhsl(113, 92%, 10%)
HSVhsv(113, 96%, 18%)
CMYKcmyk(85.1%, 0%, 95.7%, 81.6%)
CIE-LABlab(15.91, -23.95, 21.71)
CIE-LCHlch(15.91, 32.33, 137.81°)
OKLaboklab(26.73% -0.0655 0.053)
OKLCHoklch(26.73% 0.084 141)
XYZxyz(1.1150, 2.0825, 0.4006)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F02 #2A022F
analogous
#1E2F02 #072F02 #022F14
triadic
#072F02 #02072F #2F0207
tetradic
#072F02 #021E2F #2A022F #2F1402
square
#072F02 #021E2F #2A022F #2F1402
split-complementary
#072F02 #14022F #2F021E
monochromatic
#041D01 #041D01 #072F02 #106A04 #18A407

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##072F02#FFFFFF#000000##FFFFFF
##072F021.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)
#302900
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#012D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f02;
/* rgb */ color: rgb(7, 47, 2);
/* oklch */ color: oklch(26.7% 0.084 141.0);
Tailwind
colors: {
  custom: {
    50: '#4d6848',
    500: '#072f02',
    950: '#000000',
  },
}
SCSS
$custom: #072f02;
$custom-light: #4d6848;
$custom-dark: #000000;
JSON
{
  "hex": "#072f02",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 2
  },
  "hsl": {
    "h": 113.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2673,
    "c": 0.08425,
    "h": 141
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#072F02
secondary
#6A1974
accent
#29FFE7
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #072F02

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

Preview Lab → · Contrast checker → · Palette generator →

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