#AFA759#AFA759

#AFA759 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.100 H 103.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AFA759
RGBrgb(175, 167, 89)
HSLhsl(54, 35%, 52%)
HSVhsv(54, 49%, 69%)
CMYKcmyk(0%, 4.6%, 49.1%, 31.4%)
CIE-LABlab(67.63, -7.99, 41.06)
CIE-LCHlch(67.63, 41.83, 101.01°)
OKLaboklab(71.82% -0.0233 0.0977)
OKLCHoklch(71.82% 0.1 103.4)
XYZxyz(33.3020, 37.4737, 14.9282)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA759 #5961AF
analogous
#AF7C59 #AFA759 #8CAF59
triadic
#AFA759 #59AFA7 #A759AF
tetradic
#AFA759 #59AF7C #5961AF #AF598C
square
#AFA759 #59AF7C #5961AF #AF598C
split-complementary
#AFA759 #598CAF #7C59AF
monochromatic
#605B2E #898242 #AFA759 #C3BD82 #D7D3AC

Accessibility & contrast

On white

2.47
#AFA759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#AFA759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA759
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA759#FFFFFF#000000##000000
##AFA7591.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A252
Deuteranopia (green-blind)
#B6A75D
Tritanopia (blue-blind)
#BA9E95
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa759;
/* rgb */ color: rgb(175, 167, 89);
/* oklch */ color: oklch(71.8% 0.100 103.4);
Tailwind
colors: {
  custom: {
    50: '#c9c18a',
    500: '#afa759',
    950: '#000000',
  },
}
SCSS
$custom: #afa759;
$custom-light: #c9c18a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa759",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 89
  },
  "hsl": {
    "h": 54.419,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.10045,
    "h": 103.4
  },
  "luminance": 0.37473
}

Semantic roles & 50–950 ramp

primary
#AFA759
secondary
#9FA3C5
accent
#67CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA759

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

Preview Lab → · Contrast checker → · Palette generator →

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