#AFA764#AFA764

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

Color values

HEX#AFA764
RGBrgb(175, 167, 100)
HSLhsl(54, 32%, 54%)
HSVhsv(54, 43%, 69%)
CMYKcmyk(0%, 4.6%, 42.9%, 31.4%)
CIE-LABlab(67.78, -6.88, 35.61)
CIE-LCHlch(67.78, 36.27, 100.93°)
OKLaboklab(71.98% -0.019 0.0864)
OKLCHoklch(71.98% 0.088 102.4)
XYZxyz(33.7989, 37.6725, 17.5452)
Luminance0.3767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA764 #646CAF
analogous
#AF8264 #AFA764 #92AF64
triadic
#AFA764 #64AFA7 #A764AF
tetradic
#AFA764 #64AF82 #646CAF #AF6492
square
#AFA764 #64AF82 #646CAF #AF6492
split-complementary
#AFA764 #6492AF #8264AF
monochromatic
#655F34 #8D8649 #AFA764 #C4BE8C #D9D5B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA764#FFFFFF#000000##000000
##AFA7641.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)
#B2A35F
Deuteranopia (green-blind)
#B5A767
Tritanopia (blue-blind)
#B99F97
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa764;
/* rgb */ color: rgb(175, 167, 100);
/* oklch */ color: oklch(72.0% 0.088 102.4);
Tailwind
colors: {
  custom: {
    50: '#c8c191',
    500: '#afa764',
    950: '#000000',
  },
}
SCSS
$custom: #afa764;
$custom-light: #c8c191;
$custom-dark: #000000;
JSON
{
  "hex": "#afa764",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 100
  },
  "hsl": {
    "h": 53.6,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.08842,
    "h": 102.4
  },
  "luminance": 0.37671
}

Semantic roles & 50–950 ramp

primary
#AFA764
secondary
#A7ABC7
accent
#6BC860
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA764

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

Preview Lab → · Contrast checker → · Palette generator →

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