#AFA863#AFA863

#AFA863 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.091 H 103.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#AFA863
RGBrgb(175, 168, 99)
HSLhsl(54, 32%, 54%)
HSVhsv(54, 43%, 69%)
CMYKcmyk(0%, 4%, 43.4%, 31.4%)
CIE-LABlab(68.04, -7.52, 36.45)
CIE-LCHlch(68.04, 37.22, 101.65°)
OKLaboklab(72.18% -0.0209 0.0882)
OKLCHoklch(72.18% 0.091 103.3)
XYZxyz(33.9347, 38.0210, 17.3532)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA863 #636AAF
analogous
#AF8263 #AFA863 #90AF63
triadic
#AFA863 #63AFA8 #A863AF
tetradic
#AFA863 #63AF82 #636AAF #AF6390
square
#AFA863 #63AF82 #636AAF #AF6390
split-complementary
#AFA863 #6390AF #8263AF
monochromatic
#646033 #8D8648 #AFA863 #C4BF8B #D8D5B4

Accessibility & contrast

On white

2.44
#AFA863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#AFA863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA863
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA863#FFFFFF#000000##000000
##AFA8631.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A45E
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#B9A097
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa863;
/* rgb */ color: rgb(175, 168, 99);
/* oklch */ color: oklch(72.2% 0.091 103.3);
Tailwind
colors: {
  custom: {
    50: '#c8c190',
    500: '#afa863',
    950: '#000000',
  },
}
SCSS
$custom: #afa863;
$custom-light: #c8c190;
$custom-dark: #000000;
JSON
{
  "hex": "#afa863",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 99
  },
  "hsl": {
    "h": 54.474,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72184,
    "c": 0.09064,
    "h": 103.3
  },
  "luminance": 0.3802
}

Semantic roles & 50–950 ramp

primary
#AFA863
secondary
#A7AAC7
accent
#69C85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA863

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

Preview Lab → · Contrast checker → · Palette generator →

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