#AFAB60#AFAB60

#AFAB60 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.097 H 105.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#AFAB60
RGBrgb(175, 171, 96)
HSLhsl(57, 33%, 53%)
HSVhsv(57, 45%, 69%)
CMYKcmyk(0%, 2.3%, 45.1%, 31.4%)
CIE-LABlab(68.81, -9.41, 38.96)
CIE-LCHlch(68.81, 40.08, 103.58°)
OKLaboklab(72.79% -0.0266 0.0936)
OKLCHoklch(72.79% 0.097 105.9)
XYZxyz(34.3541, 39.0852, 16.7986)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAB60 #6064AF
analogous
#AF8360 #AFAB60 #8BAF60
triadic
#AFAB60 #60AFAB #AB60AF
tetradic
#AFAB60 #60AF83 #6064AF #AF608B
square
#AFAB60 #60AF83 #6064AF #AF608B
split-complementary
#AFAB60 #608BAF #8360AF
monochromatic
#636032 #8C8846 #AFAB60 #C3C189 #D8D6B1

Accessibility & contrast

On white

2.38
#AFAB60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#AFAB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAB60
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAB60#FFFFFF#000000##000000
##AFAB601.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65A
Deuteranopia (green-blind)
#B8AA63
Tritanopia (blue-blind)
#B9A299
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afab60;
/* rgb */ color: rgb(175, 171, 96);
/* oklch */ color: oklch(72.8% 0.097 105.9);
Tailwind
colors: {
  custom: {
    50: '#c8c38e',
    500: '#afab60',
    950: '#000000',
  },
}
SCSS
$custom: #afab60;
$custom-light: #c8c38e;
$custom-dark: #000000;
JSON
{
  "hex": "#afab60",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 96
  },
  "hsl": {
    "h": 56.962,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.72787,
    "c": 0.09733,
    "h": 105.9
  },
  "luminance": 0.39084
}

Semantic roles & 50–950 ramp

primary
#AFAB60
secondary
#A4A6C6
accent
#64C95F
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFAB60

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

Preview Lab → · Contrast checker → · Palette generator →

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