#07421B#07421B

#07421B is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.088 H 149.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#07421B
RGBrgb(7, 66, 27)
HSLhsl(140, 81%, 14%)
HSVhsv(140, 89%, 26%)
CMYKcmyk(89.4%, 0%, 59.1%, 74.1%)
CIE-LABlab(23.74, -28.08, 18.58)
CIE-LCHlch(23.74, 33.66, 146.51°)
OKLaboklab(33.32% -0.0754 0.0448)
OKLCHoklch(33.32% 0.088 149.3)
XYZxyz(2.2335, 4.0205, 1.6950)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07421B #42072E
analogous
#114207 #07421B #074239
triadic
#07421B #1B0742 #421B07
tetradic
#07421B #071142 #42072E #423907
square
#07421B #071142 #42072E #423907
split-complementary
#07421B #390742 #420711
monochromatic
#031C0B #031C0B #07421B #0D7932 #13B148

Accessibility & contrast

On white

11.64
#07421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#07421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07421B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07421B#FFFFFF#000000##FFFFFF
##07421B1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B18
Deuteranopia (green-blind)
#3C371E
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #07421b;
/* rgb */ color: rgb(7, 66, 27);
/* oklch */ color: oklch(33.3% 0.088 149.3);
Tailwind
colors: {
  custom: {
    50: '#537758',
    500: '#07421b',
    950: '#000000',
  },
}
SCSS
$custom: #07421b;
$custom-light: #537758;
$custom-dark: #000000;
JSON
{
  "hex": "#07421b",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 140.339,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33319,
    "c": 0.08769,
    "h": 149.3
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#07421B
secondary
#812461
accent
#31B4F7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #07421B

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

Preview Lab → · Contrast checker → · Palette generator →

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