#07420D#07420D

#07420D is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.1% C 0.100 H 144.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#07420D
RGBrgb(7, 66, 13)
HSLhsl(126, 81%, 14%)
HSVhsv(126, 89%, 26%)
CMYKcmyk(89.4%, 0%, 80.3%, 74.1%)
CIE-LABlab(23.57, -30.09, 25.85)
CIE-LCHlch(23.57, 39.67, 139.33°)
OKLaboklab(33.13% -0.0813 0.059)
OKLCHoklch(33.13% 0.1 144.1)
XYZxyz(2.1083, 3.9704, 1.0359)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07420D #42073C
analogous
#1F4207 #07420D #07422B
triadic
#07420D #0D0742 #420D07
tetradic
#07420D #071F42 #42073C #422B07
square
#07420D #071F42 #42073C #422B07
split-complementary
#07420D #2B0742 #42071F
monochromatic
#031C05 #031C05 #07420D #0D7918 #13B123

Accessibility & contrast

On white

11.70
#07420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#07420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07420D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07420D#FFFFFF#000000##FFFFFF
##07420D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B05
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #07420d;
/* rgb */ color: rgb(7, 66, 13);
/* oklch */ color: oklch(33.1% 0.100 144.1);
Tailwind
colors: {
  custom: {
    50: '#54774f',
    500: '#07420d',
    950: '#000000',
  },
}
SCSS
$custom: #07420d;
$custom-light: #54774f;
$custom-dark: #000000;
JSON
{
  "hex": "#07420d",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 126.102,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33128,
    "c": 0.10046,
    "h": 144.1
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#07420D
secondary
#812478
accent
#31E3F7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #07420D

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

Preview Lab → · Contrast checker → · Palette generator →

#07420D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva