#AFA465#AFA465

#AFA465 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.084 H 99.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA465
RGBrgb(175, 164, 101)
HSLhsl(51, 32%, 54%)
HSVhsv(51, 42%, 69%)
CMYKcmyk(0%, 6.3%, 42.3%, 31.4%)
CIE-LABlab(66.98, -5.17, 34.08)
CIE-LCHlch(66.98, 34.47, 98.63°)
OKLaboklab(71.36% -0.014 0.0829)
OKLCHoklch(71.36% 0.084 99.6)
XYZxyz(33.3043, 36.6055, 17.6206)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA465 #6570AF
analogous
#AF7F65 #AFA465 #95AF65
triadic
#AFA465 #65AFA4 #A465AF
tetradic
#AFA465 #65AF7F #6570AF #AF6595
square
#AFA465 #65AF7F #6570AF #AF6595
split-complementary
#AFA465 #6595AF #7F65AF
monochromatic
#655E35 #8D8349 #AFA465 #C4BC8D #D9D4B6

Accessibility & contrast

On white

2.52
#AFA465 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AFA465 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA465
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA465#FFFFFF#000000##000000
##AFA4651.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA060
Deuteranopia (green-blind)
#B2A567
Tritanopia (blue-blind)
#B99C94
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa465;
/* rgb */ color: rgb(175, 164, 101);
/* oklch */ color: oklch(71.4% 0.084 99.6);
Tailwind
colors: {
  custom: {
    50: '#c8be92',
    500: '#afa465',
    950: '#000000',
  },
}
SCSS
$custom: #afa465;
$custom-light: #c8be92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa465",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 101
  },
  "hsl": {
    "h": 51.081,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.08411,
    "h": 99.6
  },
  "luminance": 0.36604
}

Semantic roles & 50–950 ramp

primary
#AFA465
secondary
#A8ADC8
accent
#6FC860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA465

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

Preview Lab → · Contrast checker → · Palette generator →

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