#07420F#07420F

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

Color values

HEX#07420F
RGBrgb(7, 66, 15)
HSLhsl(128, 81%, 14%)
HSVhsv(128, 89%, 26%)
CMYKcmyk(89.4%, 0%, 77.3%, 74.1%)
CIE-LABlab(23.59, -29.86, 24.93)
CIE-LCHlch(23.59, 38.90, 140.15°)
OKLaboklab(33.15% -0.0806 0.0573)
OKLCHoklch(33.15% 0.099 144.6)
XYZxyz(2.1219, 3.9758, 1.1074)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07420F #42073A
analogous
#1D4207 #07420F #07422D
triadic
#07420F #0F0742 #420F07
tetradic
#07420F #071D42 #42073A #422D07
square
#07420F #071D42 #42073A #422D07
split-complementary
#07420F #2D0742 #42071D
monochromatic
#031C06 #031C06 #07420F #0D791C #13B128

Accessibility & contrast

On white

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

On black

1.80
#07420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##07420F#FFFFFF#000000##FFFFFF
##07420F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #07420f;
/* rgb */ color: rgb(7, 66, 15);
/* oklch */ color: oklch(33.1% 0.099 144.6);
Tailwind
colors: {
  custom: {
    50: '#547750',
    500: '#07420f',
    950: '#000000',
  },
}
SCSS
$custom: #07420f;
$custom-light: #547750;
$custom-dark: #000000;
JSON
{
  "hex": "#07420f",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 128.136,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.09892,
    "h": 144.6
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#07420F
secondary
#812474
accent
#31DCF7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #07420F

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

Preview Lab → · Contrast checker → · Palette generator →

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