#AFA064#AFA064

#AFA064 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.081 H 95.8°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AFA064
RGBrgb(175, 160, 100)
HSLhsl(48, 32%, 54%)
HSVhsv(48, 43%, 69%)
CMYKcmyk(0%, 8.6%, 42.9%, 31.4%)
CIE-LABlab(65.89, -3.14, 33.22)
CIE-LCHlch(65.89, 33.36, 95.39°)
OKLaboklab(70.49% -0.0082 0.0809)
OKLCHoklch(70.49% 0.081 95.8)
XYZxyz(32.5510, 35.1768, 17.1293)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA064 #6473AF
analogous
#AF7B64 #AFA064 #99AF64
triadic
#AFA064 #64AFA0 #A064AF
tetradic
#AFA064 #64AF7B #6473AF #AF6499
square
#AFA064 #64AF7B #6473AF #AF6499
split-complementary
#AFA064 #6499AF #7B64AF
monochromatic
#655B34 #8D7F49 #AFA064 #C4B98C #D9D1B5

Accessibility & contrast

On white

2.61
#AFA064 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AFA064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA064
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA064#FFFFFF#000000##000000
##AFA0641.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5F
Deuteranopia (green-blind)
#AFA266
Tritanopia (blue-blind)
#BA9891
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa064;
/* rgb */ color: rgb(175, 160, 100);
/* oklch */ color: oklch(70.5% 0.081 95.8);
Tailwind
colors: {
  custom: {
    50: '#c8bb91',
    500: '#afa064',
    950: '#000000',
  },
}
SCSS
$custom: #afa064;
$custom-light: #c8bb91;
$custom-dark: #000000;
JSON
{
  "hex": "#afa064",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 100
  },
  "hsl": {
    "h": 48,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.08133,
    "h": 95.8
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#AFA064
secondary
#A7AEC7
accent
#75C860
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110D
muted
#82807D

Preview Lab

Preview with #AFA064

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

Preview Lab → · Contrast checker → · Palette generator →

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