#AFA249#AFA249

#AFA249 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.111 H 101.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA249
RGBrgb(175, 162, 73)
HSLhsl(52, 41%, 49%)
HSVhsv(52, 58%, 69%)
CMYKcmyk(0%, 7.4%, 58.3%, 31.4%)
CIE-LABlab(66.09, -6.70, 47.08)
CIE-LCHlch(66.09, 47.56, 98.10°)
OKLaboklab(70.54% -0.0214 0.1091)
OKLCHoklch(70.54% 0.111 101.1)
XYZxyz(31.8033, 35.4369, 11.4668)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA249 #4956AF
analogous
#AF6F49 #AFA249 #89AF49
triadic
#AFA249 #49AFA2 #A249AF
tetradic
#AFA249 #49AF6F #4956AF #AF4989
square
#AFA249 #49AF6F #4956AF #AF4989
split-complementary
#AFA249 #4989AF #6F49AF
monochromatic
#595225 #847A37 #AFA249 #C4B971 #D6CF9C

Accessibility & contrast

On white

2.60
#AFA249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AFA249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA249
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA249#FFFFFF#000000##000000
##AFA2491.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E40
Deuteranopia (green-blind)
#B3A34D
Tritanopia (blue-blind)
#BB988E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa249;
/* rgb */ color: rgb(175, 162, 73);
/* oklch */ color: oklch(70.5% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#c9bd7f',
    500: '#afa249',
    950: '#000000',
  },
}
SCSS
$custom: #afa249;
$custom-light: #c9bd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa249",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 73
  },
  "hsl": {
    "h": 52.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70535,
    "c": 0.11121,
    "h": 101.1
  },
  "luminance": 0.35436
}

Semantic roles & 50–950 ramp

primary
#AFA249
secondary
#9198C2
accent
#66D157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA249

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

Preview Lab → · Contrast checker → · Palette generator →

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