#AFA450#AFA450

#AFA450 is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.1% C 0.107 H 101.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#AFA450
RGBrgb(175, 164, 80)
HSLhsl(53, 37%, 50%)
HSVhsv(53, 54%, 69%)
CMYKcmyk(0%, 6.3%, 54.3%, 31.4%)
CIE-LABlab(66.71, -7.20, 44.43)
CIE-LCHlch(66.71, 45.01, 99.21°)
OKLaboklab(71.05% -0.022 0.1042)
OKLCHoklch(71.05% 0.107 101.9)
XYZxyz(32.4037, 36.2452, 12.8770)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA450 #505BAF
analogous
#AF7550 #AFA450 #8AAF50
triadic
#AFA450 #50AFA4 #A450AF
tetradic
#AFA450 #50AF75 #505BAF #AF508A
square
#AFA450 #50AF75 #505BAF #AF508A
split-complementary
#AFA450 #508AAF #7550AF
monochromatic
#5B552A #857D3D #AFA450 #C2BA7A #D5D0A4

Accessibility & contrast

On white

2.55
#AFA450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#AFA450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA450
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA450#FFFFFF#000000##000000
##AFA4501.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F48
Deuteranopia (green-blind)
#B4A454
Tritanopia (blue-blind)
#BB9A91
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa450;
/* rgb */ color: rgb(175, 164, 80);
/* oklch */ color: oklch(71.1% 0.107 101.9);
Tailwind
colors: {
  custom: {
    50: '#c9be83',
    500: '#afa450',
    950: '#000000',
  },
}
SCSS
$custom: #afa450;
$custom-light: #c9be83;
$custom-dark: #000000;
JSON
{
  "hex": "#afa450",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 80
  },
  "hsl": {
    "h": 53.053,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.10651,
    "h": 101.9
  },
  "luminance": 0.36244
}

Semantic roles & 50–950 ramp

primary
#AFA450
secondary
#989DC3
accent
#68CD5B
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA450

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

Preview Lab → · Contrast checker → · Palette generator →

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