#8FA521

A color in the Yellow, Gold family

#8fa521 is a color in the Yellow, Gold family: RGB(143, 165, 33), HSL(70°, 67%, 39%), CMYK(13%, 0%, 80%, 35%). Closest named color: olivedrab. Contrast is 2.77:1 on white and 7.57:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8fa521
RGBrgb(143 165 33)
RGB (legacy)rgb(143, 165, 33)
RGB %rgb(56% 65% 13%)
HSLhsl(70 67% 39%)
HSV / HSBhsv(70, 80%, 65%)
HWBhwb(70 13% 35%)
CMYKcmyk(13%, 0%, 80%, 35%)
CIELAB (D50)lab(64.3 -20.3 59.27)
LCHlch(64.3 62.65 108.91)
OKLaboklab(0.6817 -0.0732 0.131)
OKLCHoklch(0.6817 0.1501 119.2)
Decimal9413921

Properties

Color ToneYellow, Gold
Closest named colorolivedrab ΔE 8.5
Closest web-safe color#999933
Hue70°
Saturation (HSL / HSV)67% / 80%
Lightness (HSL)39%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)56% / 59%
Relative luminance (WCAG)0.3286
Red / Green / Blue143 / 165 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.77:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.57: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 53.3 / -48.5 · As background with white / black text: Lc -58.6 / 50.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: #8fa521;
  --color-brand-oklch: oklch(68.17% 0.1501 119.2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(143 165 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8fa521] text-[#8fa521] border-[#8fa521]">