#07420C#07420C

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

Color values

HEX#07420C
RGBrgb(7, 66, 12)
HSLhsl(125, 81%, 14%)
HSVhsv(125, 89%, 26%)
CMYKcmyk(89.4%, 0%, 81.8%, 74.1%)
CIE-LABlab(23.57, -30.19, 26.29)
CIE-LCHlch(23.57, 40.03, 138.95°)
OKLaboklab(33.12% -0.0817 0.0597)
OKLCHoklch(33.12% 0.101 143.8)
XYZxyz(2.1021, 3.9679, 1.0028)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07420C #42073D
analogous
#204207 #07420C #07422A
triadic
#07420C #0C0742 #420C07
tetradic
#07420C #072042 #42073D #422A07
square
#07420C #072042 #42073D #422A07
split-complementary
#07420C #2A0742 #420720
monochromatic
#031C05 #031C05 #07420C #0D7916 #13B120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##07420C#FFFFFF#000000##FFFFFF
##07420C1.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)
#433B04
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #07420c;
/* rgb */ color: rgb(7, 66, 12);
/* oklch */ color: oklch(33.1% 0.101 143.8);
Tailwind
colors: {
  custom: {
    50: '#54774f',
    500: '#07420c',
    950: '#000000',
  },
}
SCSS
$custom: #07420c;
$custom-light: #54774f;
$custom-dark: #000000;
JSON
{
  "hex": "#07420c",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 125.085,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33118,
    "c": 0.10118,
    "h": 143.8
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#07420C
secondary
#812479
accent
#31E6F7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #07420C

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

Preview Lab → · Contrast checker → · Palette generator →

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