#AFA568#AFA568

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

Color values

HEX#AFA568
RGBrgb(175, 165, 104)
HSLhsl(52, 31%, 55%)
HSVhsv(52, 41%, 69%)
CMYKcmyk(0%, 5.7%, 40.6%, 31.4%)
CIE-LABlab(67.30, -5.38, 32.90)
CIE-LCHlch(67.30, 33.34, 99.28°)
OKLaboklab(71.62% -0.0143 0.0804)
OKLCHoklch(71.62% 0.082 100.1)
XYZxyz(33.6337, 37.0247, 18.4688)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA568 #6872AF
analogous
#AF8168 #AFA568 #96AF68
triadic
#AFA568 #68AFA5 #A568AF
tetradic
#AFA568 #68AF81 #6872AF #AF6896
square
#AFA568 #68AF81 #6872AF #AF6896
split-complementary
#AFA568 #6896AF #8168AF
monochromatic
#666036 #8E854B #AFA568 #C4BD90 #D9D5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA568#FFFFFF#000000##000000
##AFA5681.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)
#B0A163
Deuteranopia (green-blind)
#B3A66A
Tritanopia (blue-blind)
#B99D96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa568;
/* rgb */ color: rgb(175, 165, 104);
/* oklch */ color: oklch(71.6% 0.082 100.1);
Tailwind
colors: {
  custom: {
    50: '#c8bf94',
    500: '#afa568',
    950: '#000000',
  },
}
SCSS
$custom: #afa568;
$custom-light: #c8bf94;
$custom-dark: #000000;
JSON
{
  "hex": "#afa568",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 104
  },
  "hsl": {
    "h": 51.549,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7162,
    "c": 0.08168,
    "h": 100.1
  },
  "luminance": 0.37024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA568

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

Preview Lab → · Contrast checker → · Palette generator →

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