#07420B#07420B

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

Color values

HEX#07420B
RGBrgb(7, 66, 11)
HSLhsl(124, 81%, 14%)
HSVhsv(124, 89%, 26%)
CMYKcmyk(89.4%, 0%, 83.3%, 74.1%)
CIE-LABlab(23.56, -30.29, 26.72)
CIE-LCHlch(23.56, 40.39, 138.58°)
OKLaboklab(33.11% -0.082 0.0605)
OKLCHoklch(33.11% 0.102 143.6)
XYZxyz(2.0961, 3.9655, 0.9715)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07420B #42073E
analogous
#214207 #07420B #074229
triadic
#07420B #0B0742 #420B07
tetradic
#07420B #072142 #42073E #422907
square
#07420B #072142 #42073E #422907
split-complementary
#07420B #290742 #420721
monochromatic
#031C05 #031C05 #07420B #0D7914 #13B11D

Accessibility & contrast

On white

11.71
#07420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #07420B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07420B#FFFFFF#000000##FFFFFF
##07420B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B03
Deuteranopia (green-blind)
#3D3611
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #07420b;
/* rgb */ color: rgb(7, 66, 11);
/* oklch */ color: oklch(33.1% 0.102 143.6);
Tailwind
colors: {
  custom: {
    50: '#54774e',
    500: '#07420b',
    950: '#000000',
  },
}
SCSS
$custom: #07420b;
$custom-light: #54774e;
$custom-dark: #000000;
JSON
{
  "hex": "#07420b",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 124.068,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33109,
    "c": 0.10188,
    "h": 143.6
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#07420B
secondary
#81247B
accent
#31EAF7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #07420B

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

Preview Lab → · Contrast checker → · Palette generator →

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