#AFA549#AFA549

#AFA549 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.114 H 103.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA549
RGBrgb(175, 165, 73)
HSLhsl(54, 41%, 49%)
HSVhsv(54, 58%, 69%)
CMYKcmyk(0%, 5.7%, 58.3%, 31.4%)
CIE-LABlab(66.91, -8.29, 48.01)
CIE-LCHlch(66.91, 48.72, 99.80°)
OKLaboklab(71.18% -0.0259 0.1111)
OKLCHoklch(71.18% 0.114 103.1)
XYZxyz(32.3380, 36.5064, 11.6451)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA549 #4953AF
analogous
#AF7249 #AFA549 #86AF49
triadic
#AFA549 #49AFA5 #A549AF
tetradic
#AFA549 #49AF72 #4953AF #AF4986
square
#AFA549 #49AF72 #4953AF #AF4986
split-complementary
#AFA549 #4986AF #7249AF
monochromatic
#595425 #847C37 #AFA549 #C4BC71 #D6D09C

Accessibility & contrast

On white

2.53
#AFA549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#AFA549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA549
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA549#FFFFFF#000000##000000
##AFA5491.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A03F
Deuteranopia (green-blind)
#B6A54E
Tritanopia (blue-blind)
#BB9B91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa549;
/* rgb */ color: rgb(175, 165, 73);
/* oklch */ color: oklch(71.2% 0.114 103.1);
Tailwind
colors: {
  custom: {
    50: '#c9bf7f',
    500: '#afa549',
    950: '#000000',
  },
}
SCSS
$custom: #afa549;
$custom-light: #c9bf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa549",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 73
  },
  "hsl": {
    "h": 54.118,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71184,
    "c": 0.1141,
    "h": 103.1
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#AFA549
secondary
#9196C2
accent
#63D157
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA549

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

Preview Lab → · Contrast checker → · Palette generator →

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