#AFA049#AFA049

#AFA049 is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.109 H 99.6°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#AFA049
RGBrgb(175, 160, 73)
HSLhsl(51, 41%, 49%)
HSVhsv(51, 58%, 69%)
CMYKcmyk(0%, 8.6%, 58.3%, 31.4%)
CIE-LABlab(65.54, -5.64, 46.47)
CIE-LCHlch(65.54, 46.81, 96.92°)
OKLaboklab(70.1% -0.0183 0.1078)
OKLCHoklch(70.1% 0.109 99.6)
XYZxyz(31.4538, 34.7379, 11.3503)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA049 #4958AF
analogous
#AF6D49 #AFA049 #8BAF49
triadic
#AFA049 #49AFA0 #A049AF
tetradic
#AFA049 #49AF6D #4958AF #AF498B
square
#AFA049 #49AF6D #4958AF #AF498B
split-complementary
#AFA049 #498BAF #6D49AF
monochromatic
#595125 #847937 #AFA049 #C4B871 #D6CD9C

Accessibility & contrast

On white

2.64
#AFA049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#AFA049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA049
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA049#FFFFFF#000000##000000
##AFA0491.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C40
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#BB968D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #afa049;
/* rgb */ color: rgb(175, 160, 73);
/* oklch */ color: oklch(70.1% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#c9bb7f',
    500: '#afa049',
    950: '#000000',
  },
}
SCSS
$custom: #afa049;
$custom-light: #c9bb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa049",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 73
  },
  "hsl": {
    "h": 51.176,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70104,
    "c": 0.10936,
    "h": 99.6
  },
  "luminance": 0.34737
}

Semantic roles & 50–950 ramp

primary
#AFA049
secondary
#9199C2
accent
#69D157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AFA049

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

Preview Lab → · Contrast checker → · Palette generator →

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