#AFA349#AFA349

#AFA349 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.112 H 101.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AFA349
RGBrgb(175, 163, 73)
HSLhsl(53, 41%, 49%)
HSVhsv(53, 58%, 69%)
CMYKcmyk(0%, 6.9%, 58.3%, 31.4%)
CIE-LABlab(66.36, -7.24, 47.39)
CIE-LCHlch(66.36, 47.94, 98.68°)
OKLaboklab(70.75% -0.0229 0.1098)
OKLCHoklch(70.75% 0.112 101.8)
XYZxyz(31.9801, 35.7906, 11.5258)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA349 #4955AF
analogous
#AF7049 #AFA349 #88AF49
triadic
#AFA349 #49AFA3 #A349AF
tetradic
#AFA349 #49AF70 #4955AF #AF4988
square
#AFA349 #49AF70 #4955AF #AF4988
split-complementary
#AFA349 #4988AF #7049AF
monochromatic
#595325 #847B37 #AFA349 #C4BA71 #D6CF9C

Accessibility & contrast

On white

2.57
#AFA349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#AFA349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA349
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA349#FFFFFF#000000##000000
##AFA3491.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E40
Deuteranopia (green-blind)
#B4A44E
Tritanopia (blue-blind)
#BB998F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa349;
/* rgb */ color: rgb(175, 163, 73);
/* oklch */ color: oklch(70.8% 0.112 101.8);
Tailwind
colors: {
  custom: {
    50: '#c9be7f',
    500: '#afa349',
    950: '#000000',
  },
}
SCSS
$custom: #afa349;
$custom-light: #c9be7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa349",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 73
  },
  "hsl": {
    "h": 52.941,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70751,
    "c": 0.11216,
    "h": 101.8
  },
  "luminance": 0.35789
}

Semantic roles & 50–950 ramp

primary
#AFA349
secondary
#9197C2
accent
#65D157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA349

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

Preview Lab → · Contrast checker → · Palette generator →

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