#AFA350#AFA350

#AFA350 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.106 H 101.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA350
RGBrgb(175, 163, 80)
HSLhsl(52, 37%, 50%)
HSVhsv(52, 54%, 69%)
CMYKcmyk(0%, 6.9%, 54.3%, 31.4%)
CIE-LABlab(66.43, -6.67, 44.11)
CIE-LCHlch(66.43, 44.61, 98.60°)
OKLaboklab(70.84% -0.0205 0.1035)
OKLCHoklch(70.84% 0.106 101.2)
XYZxyz(32.2254, 35.8887, 12.8176)
Luminance0.3589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA350 #505CAF
analogous
#AF7350 #AFA350 #8CAF50
triadic
#AFA350 #50AFA3 #A350AF
tetradic
#AFA350 #50AF73 #505CAF #AF508C
square
#AFA350 #50AF73 #505CAF #AF508C
split-complementary
#AFA350 #508CAF #7350AF
monochromatic
#5B552A #857C3D #AFA350 #C2B97A #D5CFA4

Accessibility & contrast

On white

2.57
#AFA350 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AFA350 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA350
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA350#FFFFFF#000000##000000
##AFA3501.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa350;
/* rgb */ color: rgb(175, 163, 80);
/* oklch */ color: oklch(70.8% 0.106 101.2);
Tailwind
colors: {
  custom: {
    50: '#c9be83',
    500: '#afa350',
    950: '#000000',
  },
}
SCSS
$custom: #afa350;
$custom-light: #c9be83;
$custom-dark: #000000;
JSON
{
  "hex": "#afa350",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 80
  },
  "hsl": {
    "h": 52.421,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.70835,
    "c": 0.10553,
    "h": 101.2
  },
  "luminance": 0.35888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA350

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

Preview Lab → · Contrast checker → · Palette generator →

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