#AFA063#AFA063

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

Color values

HEX#AFA063
RGBrgb(175, 160, 99)
HSLhsl(48, 32%, 54%)
HSVhsv(48, 43%, 69%)
CMYKcmyk(0%, 8.6%, 43.4%, 31.4%)
CIE-LABlab(65.87, -3.24, 33.73)
CIE-LCHlch(65.87, 33.88, 95.50°)
OKLaboklab(70.47% -0.0086 0.082)
OKLCHoklch(70.47% 0.082 96)
XYZxyz(32.5029, 35.1576, 16.8759)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA063 #6372AF
analogous
#AF7A63 #AFA063 #98AF63
triadic
#AFA063 #63AFA0 #A063AF
tetradic
#AFA063 #63AF7A #6372AF #AF6398
square
#AFA063 #63AF7A #6372AF #AF6398
split-complementary
#AFA063 #6398AF #7A63AF
monochromatic
#645B33 #8D7F48 #AFA063 #C4B98B #D8D1B4

Accessibility & contrast

On white

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

On black

8.03
#AFA063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA063
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA063#FFFFFF#000000##000000
##AFA0631.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5E
Deuteranopia (green-blind)
#B0A265
Tritanopia (blue-blind)
#BA9891
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa063;
/* rgb */ color: rgb(175, 160, 99);
/* oklch */ color: oklch(70.5% 0.082 96.0);
Tailwind
colors: {
  custom: {
    50: '#c8bb90',
    500: '#afa063',
    950: '#000000',
  },
}
SCSS
$custom: #afa063;
$custom-light: #c8bb90;
$custom-dark: #000000;
JSON
{
  "hex": "#afa063",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 99
  },
  "hsl": {
    "h": 48.158,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.70469,
    "c": 0.08247,
    "h": 96
  },
  "luminance": 0.35156
}

Semantic roles & 50–950 ramp

primary
#AFA063
secondary
#A7ADC7
accent
#74C85F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13110C
muted
#82807D

Preview Lab

Preview with #AFA063

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

Preview Lab → · Contrast checker → · Palette generator →

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