#074F21

A color in the Green family

#074f21 is a color in the Green family: RGB(7, 79, 33), HSL(142°, 84%, 17%), CMYK(91%, 0%, 58%, 69%). Closest named color: darkgreen. Contrast is 9.77:1 on white and 2.15:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#074f21
RGBrgb(7 79 33)
RGB (legacy)rgb(7, 79, 33)
RGB %rgb(3% 31% 13%)
HSLhsl(142 84% 17%)
HSV / HSBhsv(142, 91%, 31%)
HWBhwb(142 3% 69%)
CMYKcmyk(91%, 0%, 58%, 69%)
CIELAB (D50)lab(28.76 -30.24 20.79)
LCHlch(28.76 36.7 145.49)
OKLaboklab(0.3751 -0.0864 0.0512)
OKLCHoklch(0.3751 0.1004 149.37)
Decimal479009

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 7.9
Closest web-safe color#006633
Hue142°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)17%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)20% / 24%
Relative luminance (WCAG)0.0575
Red / Green / Blue7 / 79 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.77:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 92.2 / -10.2 · As background with white / black text: Lc -96.4 / 11.7

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #074f21;
  --color-brand-oklch: oklch(37.51% 0.1004 149.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(7 79 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#074f21] text-[#074f21] border-[#074f21]">