#7DAF21

A color in the Green family

#7daf21 is a color in the Green family: RGB(125, 175, 33), HSL(81°, 68%, 41%), CMYK(29%, 0%, 81%, 31%). Closest named color: mediumseagreen. Contrast is 2.62:1 on white and 8.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7daf21
RGBrgb(125 175 33)
RGB (legacy)rgb(125, 175, 33)
RGB %rgb(49% 69% 13%)
HSLhsl(81 68% 41%)
HSV / HSBhsv(81, 81%, 69%)
HWBhwb(81 13% 31%)
CMYKcmyk(29%, 0%, 81%, 31%)
CIELAB (D50)lab(66.05 -32.01 60.21)
LCHlch(66.05 68.19 118)
OKLaboklab(0.6933 -0.1051 0.1341)
OKLCHoklch(0.6933 0.1704 128.08)
Decimal8236833

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.8
Closest web-safe color#669933
Hue81°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)41%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)56% / 60%
Relative luminance (WCAG)0.3513
Red / Green / Blue125 / 175 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 50.8 / -51.1 · As background with white / black text: Lc -56 / 53.2

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: #7daf21;
  --color-brand-oklch: oklch(69.33% 0.1704 128.08);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 175 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7daf21] text-[#7daf21] border-[#7daf21]">