#AFA567#AFA567

#AFA567 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.083 H 100.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#AFA567
RGBrgb(175, 165, 103)
HSLhsl(52, 31%, 55%)
HSVhsv(52, 41%, 69%)
CMYKcmyk(0%, 5.7%, 41.1%, 31.4%)
CIE-LABlab(67.28, -5.49, 33.41)
CIE-LCHlch(67.28, 33.86, 99.33°)
OKLaboklab(71.6% -0.0147 0.0815)
OKLCHoklch(71.6% 0.083 100.2)
XYZxyz(33.5832, 37.0045, 18.2029)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA567 #6771AF
analogous
#AF8167 #AFA567 #95AF67
triadic
#AFA567 #67AFA5 #A567AF
tetradic
#AFA567 #67AF81 #6771AF #AF6795
square
#AFA567 #67AF81 #6771AF #AF6795
split-complementary
#AFA567 #6795AF #8167AF
monochromatic
#665F36 #8E854B #AFA567 #C4BD8F #D9D4B7

Accessibility & contrast

On white

2.50
#AFA567 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#AFA567 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA567
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA567#FFFFFF#000000##000000
##AFA5671.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A162
Deuteranopia (green-blind)
#B3A669
Tritanopia (blue-blind)
#B99D96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa567;
/* rgb */ color: rgb(175, 165, 103);
/* oklch */ color: oklch(71.6% 0.083 100.2);
Tailwind
colors: {
  custom: {
    50: '#c8bf93',
    500: '#afa567',
    950: '#000000',
  },
}
SCSS
$custom: #afa567;
$custom-light: #c8bf93;
$custom-dark: #000000;
JSON
{
  "hex": "#afa567",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 103
  },
  "hsl": {
    "h": 51.667,
    "s": 31.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.71604,
    "c": 0.08284,
    "h": 100.2
  },
  "luminance": 0.37003
}

Semantic roles & 50–950 ramp

primary
#AFA567
secondary
#AAAEC8
accent
#6FC761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA567

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

Preview Lab → · Contrast checker → · Palette generator →

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