#AFA459#AFA459

#AFA459 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.097 H 101.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AFA459
RGBrgb(175, 164, 89)
HSLhsl(52, 35%, 52%)
HSVhsv(52, 49%, 69%)
CMYKcmyk(0%, 6.3%, 49.1%, 31.4%)
CIE-LABlab(66.81, -6.40, 40.07)
CIE-LCHlch(66.81, 40.58, 99.07°)
OKLaboklab(71.17% -0.0187 0.0955)
OKLCHoklch(71.17% 0.097 101.1)
XYZxyz(32.7587, 36.3872, 14.7471)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA459 #5964AF
analogous
#AF7959 #AFA459 #8FAF59
triadic
#AFA459 #59AFA4 #A459AF
tetradic
#AFA459 #59AF79 #5964AF #AF598F
square
#AFA459 #59AF79 #5964AF #AF598F
split-complementary
#AFA459 #598FAF #7959AF
monochromatic
#60592E #898042 #AFA459 #C3BB82 #D7D1AC

Accessibility & contrast

On white

2.54
#AFA459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AFA459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA459
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA459#FFFFFF#000000##000000
##AFA4591.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A053
Deuteranopia (green-blind)
#B4A55C
Tritanopia (blue-blind)
#BA9B92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa459;
/* rgb */ color: rgb(175, 164, 89);
/* oklch */ color: oklch(71.2% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#c9be89',
    500: '#afa459',
    950: '#000000',
  },
}
SCSS
$custom: #afa459;
$custom-light: #c9be89;
$custom-dark: #000000;
JSON
{
  "hex": "#afa459",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 89
  },
  "hsl": {
    "h": 52.326,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.09735,
    "h": 101.1
  },
  "luminance": 0.36386
}

Semantic roles & 50–950 ramp

primary
#AFA459
secondary
#9FA4C5
accent
#6BCB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA459

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

Preview Lab → · Contrast checker → · Palette generator →

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