#072803#072803

#072803 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.073 H 141.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#072803
RGBrgb(7, 40, 3)
HSLhsl(114, 86%, 8%)
HSVhsv(114, 93%, 16%)
CMYKcmyk(82.5%, 0%, 92.5%, 84.3%)
CIE-LABlab(13.04, -20.88, 17.57)
CIE-LCHlch(13.04, 27.29, 139.91°)
OKLaboklab(24.35% -0.0571 0.0463)
OKLCHoklch(24.35% 0.073 141)
XYZxyz(0.8628, 1.5692, 0.3436)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072803 #240328
analogous
#192803 #072803 #032811
triadic
#072803 #030728 #280307
tetradic
#072803 #031928 #240328 #281103
square
#072803 #031928 #240328 #281103
split-complementary
#072803 #110328 #280319
monochromatic
#051C02 #051C02 #072803 #116107 #1B9A0C

Accessibility & contrast

On white

15.98
#072803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#072803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072803
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072803#FFFFFF#000000##FFFFFF
##0728031.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252106
Tritanopia (blue-blind)
#032621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #072803;
/* rgb */ color: rgb(7, 40, 3);
/* oklch */ color: oklch(24.3% 0.073 141.0);
Tailwind
colors: {
  custom: {
    50: '#4b6248',
    500: '#072803',
    950: '#000000',
  },
}
SCSS
$custom: #072803;
$custom-light: #4b6248;
$custom-dark: #000000;
JSON
{
  "hex": "#072803",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 113.514,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2435,
    "c": 0.07347,
    "h": 141
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#072803
secondary
#631B6C
accent
#2CFCE6
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #072803

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

Preview Lab → · Contrast checker → · Palette generator →

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