#AFA763#AFA763

#AFA763 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.090 H 102.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA763
RGBrgb(175, 167, 99)
HSLhsl(54, 32%, 54%)
HSVhsv(54, 43%, 69%)
CMYKcmyk(0%, 4.6%, 43.4%, 31.4%)
CIE-LABlab(67.76, -6.99, 36.11)
CIE-LCHlch(67.76, 36.78, 100.95°)
OKLaboklab(71.97% -0.0194 0.0874)
OKLCHoklch(71.97% 0.09 102.5)
XYZxyz(33.7508, 37.6532, 17.2919)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA763 #636BAF
analogous
#AF8163 #AFA763 #91AF63
triadic
#AFA763 #63AFA7 #A763AF
tetradic
#AFA763 #63AF81 #636BAF #AF6391
square
#AFA763 #63AF81 #636BAF #AF6391
split-complementary
#AFA763 #6391AF #8163AF
monochromatic
#645F33 #8D8548 #AFA763 #C4BE8B #D8D5B4

Accessibility & contrast

On white

2.46
#AFA763 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#AFA763 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA763
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA763#FFFFFF#000000##000000
##AFA7631.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A35E
Deuteranopia (green-blind)
#B5A766
Tritanopia (blue-blind)
#B99F96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa763;
/* rgb */ color: rgb(175, 167, 99);
/* oklch */ color: oklch(72.0% 0.090 102.5);
Tailwind
colors: {
  custom: {
    50: '#c8c190',
    500: '#afa763',
    950: '#000000',
  },
}
SCSS
$custom: #afa763;
$custom-light: #c8c190;
$custom-dark: #000000;
JSON
{
  "hex": "#afa763",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 99
  },
  "hsl": {
    "h": 53.684,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71968,
    "c": 0.08955,
    "h": 102.5
  },
  "luminance": 0.37652
}

Semantic roles & 50–950 ramp

primary
#AFA763
secondary
#A7AAC7
accent
#6AC85F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120D
muted
#82817D

Preview Lab

Preview with #AFA763

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

Preview Lab → · Contrast checker → · Palette generator →

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