#07420A#07420A

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

Color values

HEX#07420A
RGBrgb(7, 66, 10)
HSLhsl(123, 81%, 14%)
HSVhsv(123, 89%, 26%)
CMYKcmyk(89.4%, 0%, 84.8%, 74.1%)
CIE-LABlab(23.55, -30.38, 27.13)
CIE-LCHlch(23.55, 40.73, 138.24°)
OKLaboklab(33.1% -0.0823 0.0612)
OKLCHoklch(33.1% 0.103 143.4)
XYZxyz(2.0905, 3.9633, 0.9419)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07420A #42073F
analogous
#224207 #07420A #074228
triadic
#07420A #0A0742 #420A07
tetradic
#07420A #072242 #42073F #422807
square
#07420A #072242 #42073F #422807
split-complementary
#07420A #280742 #420722
monochromatic
#031C04 #031C04 #07420A #0D7912 #13B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##07420A#FFFFFF#000000##FFFFFF
##07420A1.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)
#443B02
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #07420a;
/* rgb */ color: rgb(7, 66, 10);
/* oklch */ color: oklch(33.1% 0.103 143.4);
Tailwind
colors: {
  custom: {
    50: '#54774d',
    500: '#07420a',
    950: '#000000',
  },
}
SCSS
$custom: #07420a;
$custom-light: #54774d;
$custom-dark: #000000;
JSON
{
  "hex": "#07420a",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 123.051,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.10254,
    "h": 143.4
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#07420A
secondary
#81247C
accent
#31EDF7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #07420A

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

Preview Lab → · Contrast checker → · Palette generator →

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