#AFA260#AFA260

#AFA260 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.088 H 98.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#AFA260
RGBrgb(175, 162, 96)
HSLhsl(50, 33%, 53%)
HSVhsv(50, 45%, 69%)
CMYKcmyk(0%, 7.4%, 45.1%, 31.4%)
CIE-LABlab(66.37, -4.64, 35.92)
CIE-LCHlch(66.37, 36.22, 97.35°)
OKLaboklab(70.85% -0.0129 0.0868)
OKLCHoklch(70.85% 0.088 98.4)
XYZxyz(32.7117, 35.8003, 16.2511)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA260 #606DAF
analogous
#AF7A60 #AFA260 #94AF60
triadic
#AFA260 #60AFA2 #A260AF
tetradic
#AFA260 #60AF7A #606DAF #AF6094
square
#AFA260 #60AF7A #606DAF #AF6094
split-complementary
#AFA260 #6094AF #7A60AF
monochromatic
#635B32 #8C8046 #AFA260 #C3BA89 #D8D2B1

Accessibility & contrast

On white

2.57
#AFA260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#AFA260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA260
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA260#FFFFFF#000000##000000
##AFA2601.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5B
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#BA9992
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa260;
/* rgb */ color: rgb(175, 162, 96);
/* oklch */ color: oklch(70.8% 0.088 98.4);
Tailwind
colors: {
  custom: {
    50: '#c8bd8e',
    500: '#afa260',
    950: '#000000',
  },
}
SCSS
$custom: #afa260;
$custom-light: #c8bd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa260",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 96
  },
  "hsl": {
    "h": 50.127,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.70847,
    "c": 0.08776,
    "h": 98.4
  },
  "luminance": 0.35799
}

Semantic roles & 50–950 ramp

primary
#AFA260
secondary
#A4AAC6
accent
#70C95F
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA260

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

Preview Lab → · Contrast checker → · Palette generator →

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