#AFA949#AFA949

#AFA949 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.118 H 105.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AFA949
RGBrgb(175, 169, 73)
HSLhsl(56, 41%, 49%)
HSVhsv(56, 58%, 69%)
CMYKcmyk(0%, 3.4%, 58.3%, 31.4%)
CIE-LABlab(68.00, -10.40, 49.23)
CIE-LCHlch(68.00, 50.32, 101.92°)
OKLaboklab(72.06% -0.0319 0.1138)
OKLCHoklch(72.06% 0.118 105.7)
XYZxyz(33.0708, 37.9720, 11.8893)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA949 #494FAF
analogous
#AF7649 #AFA949 #82AF49
triadic
#AFA949 #49AFA9 #A949AF
tetradic
#AFA949 #49AF76 #494FAF #AF4982
square
#AFA949 #49AF76 #494FAF #AF4982
split-complementary
#AFA949 #4982AF #7649AF
monochromatic
#595625 #847F37 #AFA949 #C4BF71 #D6D39C

Accessibility & contrast

On white

2.44
#AFA949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AFA949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA949
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA949#FFFFFF#000000##000000
##AFA9491.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33F
Deuteranopia (green-blind)
#B9A84E
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa949;
/* rgb */ color: rgb(175, 169, 73);
/* oklch */ color: oklch(72.1% 0.118 105.7);
Tailwind
colors: {
  custom: {
    50: '#c9c27f',
    500: '#afa949',
    950: '#000000',
  },
}
SCSS
$custom: #afa949;
$custom-light: #c9c27f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa949",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 73
  },
  "hsl": {
    "h": 56.471,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.11814,
    "h": 105.7
  },
  "luminance": 0.37971
}

Semantic roles & 50–950 ramp

primary
#AFA949
secondary
#9194C2
accent
#5ED157
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA949

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

Preview Lab → · Contrast checker → · Palette generator →

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