#AFB960#AFB960

#AFB960 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 75.9% C 0.114 H 114.4°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#AFB960
RGBrgb(175, 185, 96)
HSLhsl(67, 39%, 55%)
HSVhsv(67, 48%, 73%)
CMYKcmyk(5.4%, 0%, 48.1%, 27.5%)
CIE-LABlab(72.67, -16.64, 43.66)
CIE-LCHlch(72.67, 46.72, 110.86°)
OKLaboklab(75.86% -0.0473 0.104)
OKLCHoklch(75.86% 0.114 114.4)
XYZxyz(37.1400, 44.6569, 17.7272)
Luminance0.4466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB960 #6A60B9
analogous
#B99760 #AFB960 #82B960
triadic
#AFB960 #60AFB9 #B960AF
tetradic
#AFB960 #60B997 #6A60B9 #B96082
square
#AFB960 #60B997 #6A60B9 #B96082
split-complementary
#AFB960 #6082B9 #9760B9
monochromatic
#676E30 #8F9943 #AFB960 #C4CC8A #DADEB5

Accessibility & contrast

On white

2.11
#AFB960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#AFB960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB960
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB960#FFFFFF#000000##000000
##AFB9601.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B158
Deuteranopia (green-blind)
#C3B365
Tritanopia (blue-blind)
#B8B0A4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afb960;
/* rgb */ color: rgb(175, 185, 96);
/* oklch */ color: oklch(75.9% 0.114 114.4);
Tailwind
colors: {
  custom: {
    50: '#c8ce8f',
    500: '#afb960',
    950: '#000000',
  },
}
SCSS
$custom: #afb960;
$custom-light: #c8ce8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afb960",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 66.742,
    "s": 38.865,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75856,
    "c": 0.11424,
    "h": 114.4
  },
  "luminance": 0.44656
}

Semantic roles & 50–950 ramp

primary
#AFB960
secondary
#ACA8CD
accent
#59CF66
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB960

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

Preview Lab → · Contrast checker → · Palette generator →

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