#072602#072602

#072602 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.6% C 0.072 H 140.3°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#072602
RGBrgb(7, 38, 2)
HSLhsl(112, 90%, 8%)
HSVhsv(112, 95%, 15%)
CMYKcmyk(81.6%, 0%, 94.7%, 85.1%)
CIE-LABlab(12.19, -20.13, 16.83)
CIE-LCHlch(12.19, 26.24, 140.09°)
OKLaboklab(23.64% -0.0553 0.046)
OKLCHoklch(23.64% 0.072 140.3)
XYZxyz(0.7917, 1.4357, 0.2928)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072602 #210226
analogous
#192602 #072602 #02260F
triadic
#072602 #020726 #260207
tetradic
#072602 #021926 #210226 #260F02
square
#072602 #021926 #210226 #260F02
split-complementary
#072602 #0F0226 #260219
monochromatic
#051D02 #051D02 #072602 #126005 #1C9A08

Accessibility & contrast

On white

16.31
#072602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#072602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072602
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072602#FFFFFF#000000##FFFFFF
##0726021.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#241F05
Tritanopia (blue-blind)
#04241F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #072602;
/* rgb */ color: rgb(7, 38, 2);
/* oklch */ color: oklch(23.6% 0.072 140.3);
Tailwind
colors: {
  custom: {
    50: '#4a6147',
    500: '#072602',
    950: '#000000',
  },
}
SCSS
$custom: #072602;
$custom-light: #4a6147;
$custom-dark: #000000;
JSON
{
  "hex": "#072602",
  "rgb": {
    "r": 7,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 111.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23643,
    "c": 0.07193,
    "h": 140.3
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#072602
secondary
#60186B
accent
#29FFE1
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #072602

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

Preview Lab → · Contrast checker → · Palette generator →

#072602 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva