#AFA649#AFA649

#AFA649 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.115 H 103.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#AFA649
RGBrgb(175, 166, 73)
HSLhsl(55, 41%, 49%)
HSVhsv(55, 58%, 69%)
CMYKcmyk(0%, 5.1%, 58.3%, 31.4%)
CIE-LABlab(67.18, -8.82, 48.31)
CIE-LCHlch(67.18, 49.11, 100.35°)
OKLaboklab(71.4% -0.0274 0.1118)
OKLCHoklch(71.4% 0.115 103.8)
XYZxyz(32.5191, 36.8686, 11.7054)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA649 #4952AF
analogous
#AF7349 #AFA649 #85AF49
triadic
#AFA649 #49AFA6 #A649AF
tetradic
#AFA649 #49AF73 #4952AF #AF4985
square
#AFA649 #49AF73 #4952AF #AF4985
split-complementary
#AFA649 #4985AF #7349AF
monochromatic
#595425 #847D37 #AFA649 #C4BD71 #D6D19C

Accessibility & contrast

On white

2.51
#AFA649 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#AFA649 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA649
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA649#FFFFFF#000000##000000
##AFA6491.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A13F
Deuteranopia (green-blind)
#B6A64E
Tritanopia (blue-blind)
#BB9C92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa649;
/* rgb */ color: rgb(175, 166, 73);
/* oklch */ color: oklch(71.4% 0.115 103.8);
Tailwind
colors: {
  custom: {
    50: '#c9c07f',
    500: '#afa649',
    950: '#000000',
  },
}
SCSS
$custom: #afa649;
$custom-light: #c9c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa649",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 73
  },
  "hsl": {
    "h": 54.706,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.1151,
    "h": 103.8
  },
  "luminance": 0.36867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA649

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

Preview Lab → · Contrast checker → · Palette generator →

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