#AFA310

A color in the Yellow, Gold family

#afa310 is a color in the Yellow, Gold family: RGB(175, 163, 16), HSL(55°, 83%, 37%), CMYK(0%, 7%, 91%, 31%). Closest named color: goldenrod. Contrast is 2.6:1 on white and 8.07:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#afa310
RGBrgb(175 163 16)
RGB (legacy)rgb(175, 163, 16)
RGB %rgb(69% 64% 6%)
HSLhsl(55 83% 37%)
HSV / HSBhsv(55, 91%, 69%)
HWBhwb(55 6% 31%)
CMYKcmyk(0%, 7%, 91%, 31%)
CIELAB (D50)lab(66.39 -5.83 66.07)
LCHlch(66.39 66.33 95.04)
OKLaboklab(0.7037 -0.0355 0.1412)
OKLCHoklch(0.7037 0.1456 104.11)
Decimal11510544

Properties

Color ToneYellow, Gold
Closest named colorgoldenrod ΔE 7
Closest web-safe color#999900
Hue55°
Saturation (HSL / HSV)83% / 91%
Lightness (HSL)37%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)59% / 61%
Relative luminance (WCAG)0.3535
Red / Green / Blue175 / 163 / 16

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.60:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.07: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.6 / -51.3 · As background with white / black text: Lc -55.8 / 53.4

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: #afa310;
  --color-brand-oklch: oklch(70.37% 0.1456 104.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(175 163 16 / 50%); }
/* Tailwind CSS */
<div class="bg-[#afa310] text-[#afa310] border-[#afa310]">