#AFA065#AFA065

#AFA065 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.080 H 95.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#AFA065
RGBrgb(175, 160, 101)
HSLhsl(48, 32%, 54%)
HSVhsv(48, 42%, 69%)
CMYKcmyk(0%, 8.6%, 42.3%, 31.4%)
CIE-LABlab(65.90, -3.03, 32.71)
CIE-LCHlch(65.90, 32.85, 95.29°)
OKLaboklab(70.5% -0.0078 0.0798)
OKLCHoklch(70.5% 0.08 95.6)
XYZxyz(32.5997, 35.1963, 17.3857)
Luminance0.3519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA065 #6574AF
analogous
#AF7B65 #AFA065 #99AF65
triadic
#AFA065 #65AFA0 #A065AF
tetradic
#AFA065 #65AF7B #6574AF #AF6599
square
#AFA065 #65AF7B #6574AF #AF6599
split-complementary
#AFA065 #6599AF #7B65AF
monochromatic
#655B35 #8D8049 #AFA065 #C4B98D #D9D2B6

Accessibility & contrast

On white

2.61
#AFA065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#AFA065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA065
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA065#FFFFFF#000000##000000
##AFA0651.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D61
Deuteranopia (green-blind)
#AFA267
Tritanopia (blue-blind)
#B99891
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa065;
/* rgb */ color: rgb(175, 160, 101);
/* oklch */ color: oklch(70.5% 0.080 95.6);
Tailwind
colors: {
  custom: {
    50: '#c8bb92',
    500: '#afa065',
    950: '#000000',
  },
}
SCSS
$custom: #afa065;
$custom-light: #c8bb92;
$custom-dark: #000000;
JSON
{
  "hex": "#afa065",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 101
  },
  "hsl": {
    "h": 47.838,
    "s": 31.624,
    "l": 54.118
  },
  "oklch": {
    "l": 0.70503,
    "c": 0.08019,
    "h": 95.6
  },
  "luminance": 0.35195
}

Semantic roles & 50–950 ramp

primary
#AFA065
secondary
#A8AFC8
accent
#75C860
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#13110D
muted
#82807E

Preview Lab

Preview with #AFA065

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

Preview Lab → · Contrast checker → · Palette generator →

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