#AFA650#AFA650

#AFA650 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.109 H 103.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AFA650
RGBrgb(175, 166, 80)
HSLhsl(54, 37%, 50%)
HSVhsv(54, 54%, 69%)
CMYKcmyk(0%, 5.1%, 54.3%, 31.4%)
CIE-LABlab(67.25, -8.26, 45.06)
CIE-LCHlch(67.25, 45.81, 100.39°)
OKLaboklab(71.48% -0.025 0.1056)
OKLCHoklch(71.48% 0.109 103.3)
XYZxyz(32.7644, 36.9667, 12.9972)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA650 #5059AF
analogous
#AF7750 #AFA650 #88AF50
triadic
#AFA650 #50AFA6 #A650AF
tetradic
#AFA650 #50AF77 #5059AF #AF5088
square
#AFA650 #50AF77 #5059AF #AF5088
split-complementary
#AFA650 #5088AF #7750AF
monochromatic
#5B562A #857E3D #AFA650 #C2BB7A #D5D1A4

Accessibility & contrast

On white

2.50
#AFA650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AFA650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA650
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA650#FFFFFF#000000##000000
##AFA6501.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A148
Deuteranopia (green-blind)
#B6A654
Tritanopia (blue-blind)
#BB9C93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa650;
/* rgb */ color: rgb(175, 166, 80);
/* oklch */ color: oklch(71.5% 0.109 103.3);
Tailwind
colors: {
  custom: {
    50: '#c9c084',
    500: '#afa650',
    950: '#000000',
  },
}
SCSS
$custom: #afa650;
$custom-light: #c9c084;
$custom-dark: #000000;
JSON
{
  "hex": "#afa650",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 80
  },
  "hsl": {
    "h": 54.316,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.71484,
    "c": 0.10853,
    "h": 103.3
  },
  "luminance": 0.36966
}

Semantic roles & 50–950 ramp

primary
#AFA650
secondary
#989CC3
accent
#65CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA650

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

Preview Lab → · Contrast checker → · Palette generator →

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