#074E21#074E21

#074E21 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.099 H 149.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#074E21
RGBrgb(7, 78, 33)
HSLhsl(142, 84%, 17%)
HSVhsv(142, 91%, 31%)
CMYKcmyk(91%, 0%, 57.7%, 69.4%)
CIE-LABlab(28.39, -31.82, 20.79)
CIE-LCHlch(28.39, 38.01, 146.84°)
OKLaboklab(37.2% -0.0853 0.0501)
OKLCHoklch(37.2% 0.099 149.6)
XYZxyz(3.0863, 5.6034, 2.3574)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074E21 #4E0734
analogous
#114E07 #074E21 #074E45
triadic
#074E21 #21074E #4E2107
tetradic
#074E21 #07114E #4E0734 #4E4507
square
#074E21 #07114E #4E0734 #4E4507
split-complementary
#074E21 #45074E #4E0711
monochromatic
#031C0C #031C0C #074E21 #0C8639 #11BE51

Accessibility & contrast

On white

9.90
#074E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#074E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074E21
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074E21#FFFFFF#000000##FFFFFF
##074E211.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#474124
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #074e21;
/* rgb */ color: rgb(7, 78, 33);
/* oklch */ color: oklch(37.2% 0.099 149.6);
Tailwind
colors: {
  custom: {
    50: '#56805d',
    500: '#074e21',
    950: '#000000',
  },
}
SCSS
$custom: #074e21;
$custom-light: #56805d;
$custom-dark: #000000;
JSON
{
  "hex": "#074e21",
  "rgb": {
    "r": 7,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 141.972,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.09899,
    "h": 149.6
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#074E21
secondary
#8C2566
accent
#2EAFFA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #074E21

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

Preview Lab → · Contrast checker → · Palette generator →

#074E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva