#072E02#072E02

#072E02 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.4% C 0.083 H 141.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#072E02
RGBrgb(7, 46, 2)
HSLhsl(113, 92%, 9%)
HSVhsv(113, 96%, 18%)
CMYKcmyk(84.8%, 0%, 95.7%, 82%)
CIE-LABlab(15.51, -23.55, 21.19)
CIE-LCHlch(15.51, 31.68, 138.01°)
OKLaboklab(26.39% -0.0644 0.0522)
OKLCHoklch(26.39% 0.083 141)
XYZxyz(1.0755, 2.0034, 0.3874)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072E02 #29022E
analogous
#1D2E02 #072E02 #022E13
triadic
#072E02 #02072E #2E0207
tetradic
#072E02 #021D2E #29022E #2E1302
square
#072E02 #021D2E #29022E #2E1302
split-complementary
#072E02 #13022E #2E021D
monochromatic
#041D01 #041D01 #072E02 #106905 #19A307

Accessibility & contrast

On white

14.99
#072E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#072E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072E02
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072E02#FFFFFF#000000##FFFFFF
##072E021.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#022C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #072e02;
/* rgb */ color: rgb(7, 46, 2);
/* oklch */ color: oklch(26.4% 0.083 141.0);
Tailwind
colors: {
  custom: {
    50: '#4d6747',
    500: '#072e02',
    950: '#000000',
  },
}
SCSS
$custom: #072e02;
$custom-light: #4d6747;
$custom-dark: #000000;
JSON
{
  "hex": "#072e02",
  "rgb": {
    "r": 7,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 113.182,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2639,
    "c": 0.08292,
    "h": 141
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#072E02
secondary
#691973
accent
#29FFE7
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #072E02

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

Preview Lab → · Contrast checker → · Palette generator →

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