#074217#074217

#074217 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.092 H 147.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#074217
RGBrgb(7, 66, 23)
HSLhsl(136, 81%, 14%)
HSVhsv(136, 89%, 26%)
CMYKcmyk(89.4%, 0%, 65.2%, 74.1%)
CIE-LABlab(23.68, -28.76, 20.82)
CIE-LCHlch(23.68, 35.50, 144.10°)
OKLaboklab(33.25% -0.0773 0.0494)
OKLCHoklch(33.25% 0.092 147.4)
XYZxyz(2.1903, 4.0032, 1.4677)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074217 #420732
analogous
#154207 #074217 #074235
triadic
#074217 #170742 #421707
tetradic
#074217 #071542 #420732 #423507
square
#074217 #071542 #420732 #423507
split-complementary
#074217 #350742 #420715
monochromatic
#031C0A #031C0A #074217 #0D792A #13B13E

Accessibility & contrast

On white

11.66
#074217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#074217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074217
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074217#FFFFFF#000000##FFFFFF
##0742171.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B13
Deuteranopia (green-blind)
#3C371A
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #074217;
/* rgb */ color: rgb(7, 66, 23);
/* oklch */ color: oklch(33.3% 0.092 147.4);
Tailwind
colors: {
  custom: {
    50: '#537755',
    500: '#074217',
    950: '#000000',
  },
}
SCSS
$custom: #074217;
$custom-light: #537755;
$custom-dark: #000000;
JSON
{
  "hex": "#074217",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 136.271,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33253,
    "c": 0.09176,
    "h": 147.4
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#074217
secondary
#812468
accent
#31C1F7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #074217

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

Preview Lab → · Contrast checker → · Palette generator →

#074217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva