#AFA968#AFA968

#AFA968 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.086 H 103.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#AFA968
RGBrgb(175, 169, 104)
HSLhsl(55, 31%, 55%)
HSVhsv(55, 41%, 69%)
CMYKcmyk(0%, 3.4%, 40.6%, 31.4%)
CIE-LABlab(68.38, -7.50, 34.29)
CIE-LCHlch(68.38, 35.10, 102.34°)
OKLaboklab(72.48% -0.0204 0.0836)
OKLCHoklch(72.48% 0.086 103.8)
XYZxyz(34.3665, 38.4903, 18.7130)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA968 #686EAF
analogous
#AF8668 #AFA968 #91AF68
triadic
#AFA968 #68AFA9 #A968AF
tetradic
#AFA968 #68AF86 #686EAF #AF6891
square
#AFA968 #68AF86 #686EAF #AF6891
split-complementary
#AFA968 #6891AF #8668AF
monochromatic
#666236 #8E894B #AFA968 #C4C090 #D9D7B8

Accessibility & contrast

On white

2.41
#AFA968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#AFA968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA968
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA968#FFFFFF#000000##000000
##AFA9681.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A563
Deuteranopia (green-blind)
#B6A86B
Tritanopia (blue-blind)
#B9A199
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa968;
/* rgb */ color: rgb(175, 169, 104);
/* oklch */ color: oklch(72.5% 0.086 103.8);
Tailwind
colors: {
  custom: {
    50: '#c8c294',
    500: '#afa968',
    950: '#000000',
  },
}
SCSS
$custom: #afa968;
$custom-light: #c8c294;
$custom-dark: #000000;
JSON
{
  "hex": "#afa968",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 104
  },
  "hsl": {
    "h": 54.93,
    "s": 30.736,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.08604,
    "h": 103.8
  },
  "luminance": 0.38489
}

Semantic roles & 50–950 ramp

primary
#AFA968
secondary
#AAADC8
accent
#69C761
background
#FCFBF9
surface
#F8F7F1
border
#D1D0CB
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA968

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

Preview Lab → · Contrast checker → · Palette generator →

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