#AFAC49#AFAC49

#AFAC49 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.121 H 107.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFAC49
RGBrgb(175, 172, 73)
HSLhsl(58, 41%, 49%)
HSVhsv(58, 58%, 69%)
CMYKcmyk(0%, 1.7%, 58.3%, 31.4%)
CIE-LABlab(68.82, -11.96, 50.15)
CIE-LCHlch(68.82, 51.56, 103.41°)
OKLaboklab(72.71% -0.0364 0.1157)
OKLCHoklch(72.71% 0.121 107.4)
XYZxyz(33.6353, 39.1010, 12.0775)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAC49 #494CAF
analogous
#AF7949 #AFAC49 #7FAF49
triadic
#AFAC49 #49AFAC #AC49AF
tetradic
#AFAC49 #49AF79 #494CAF #AF497F
square
#AFAC49 #49AF79 #494CAF #AF497F
split-complementary
#AFAC49 #497FAF #7949AF
monochromatic
#595725 #848237 #AFAC49 #C4C171 #D6D49C

Accessibility & contrast

On white

2.38
#AFAC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFAC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAC49
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAC49#FFFFFF#000000##000000
##AFAC491.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A63E
Deuteranopia (green-blind)
#BBAA4F
Tritanopia (blue-blind)
#BBA297
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afac49;
/* rgb */ color: rgb(175, 172, 73);
/* oklch */ color: oklch(72.7% 0.121 107.4);
Tailwind
colors: {
  custom: {
    50: '#c9c47f',
    500: '#afac49',
    950: '#000000',
  },
}
SCSS
$custom: #afac49;
$custom-light: #c9c47f;
$custom-dark: #000000;
JSON
{
  "hex": "#afac49",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 73
  },
  "hsl": {
    "h": 58.235,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72711,
    "c": 0.12129,
    "h": 107.4
  },
  "luminance": 0.391
}

Semantic roles & 50–950 ramp

primary
#AFAC49
secondary
#9193C2
accent
#5AD157
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFAC49

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

Preview Lab → · Contrast checker → · Palette generator →

#AFAC49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva