#AFAA49#AFAA49

#AFAA49 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.119 H 106.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#AFAA49
RGBrgb(175, 170, 73)
HSLhsl(57, 41%, 49%)
HSVhsv(57, 58%, 69%)
CMYKcmyk(0%, 2.9%, 58.3%, 31.4%)
CIE-LABlab(68.27, -10.92, 49.54)
CIE-LCHlch(68.27, 50.73, 102.43°)
OKLaboklab(72.27% -0.0334 0.1144)
OKLCHoklch(72.27% 0.119 106.3)
XYZxyz(33.2576, 38.3455, 11.9516)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAA49 #494EAF
analogous
#AF7749 #AFAA49 #81AF49
triadic
#AFAA49 #49AFAA #AA49AF
tetradic
#AFAA49 #49AF77 #494EAF #AF4981
square
#AFAA49 #49AF77 #494EAF #AF4981
split-complementary
#AFAA49 #4981AF #7749AF
monochromatic
#595625 #848037 #AFAA49 #C4C071 #D6D39C

Accessibility & contrast

On white

2.42
#AFAA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#AFAA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAA49
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAA49#FFFFFF#000000##000000
##AFAA491.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43F
Deuteranopia (green-blind)
#BAA84E
Tritanopia (blue-blind)
#BBA095
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afaa49;
/* rgb */ color: rgb(175, 170, 73);
/* oklch */ color: oklch(72.3% 0.119 106.3);
Tailwind
colors: {
  custom: {
    50: '#c9c37f',
    500: '#afaa49',
    950: '#000000',
  },
}
SCSS
$custom: #afaa49;
$custom-light: #c9c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#afaa49",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 73
  },
  "hsl": {
    "h": 57.059,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72273,
    "c": 0.11918,
    "h": 106.3
  },
  "luminance": 0.38344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAA49

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

Preview Lab → · Contrast checker → · Palette generator →

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