#AFA760#AFA760

#AFA760 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.093 H 102.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AFA760
RGBrgb(175, 167, 96)
HSLhsl(54, 33%, 53%)
HSVhsv(54, 45%, 69%)
CMYKcmyk(0%, 4.6%, 45.1%, 31.4%)
CIE-LABlab(67.72, -7.30, 37.61)
CIE-LCHlch(67.72, 38.31, 100.98°)
OKLaboklab(71.92% -0.0206 0.0906)
OKLCHoklch(71.92% 0.093 102.8)
XYZxyz(33.6100, 37.5969, 16.5505)
Luminance0.3760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA760 #6068AF
analogous
#AF7F60 #AFA760 #8FAF60
triadic
#AFA760 #60AFA7 #A760AF
tetradic
#AFA760 #60AF7F #6068AF #AF608F
square
#AFA760 #60AF7F #6068AF #AF608F
split-complementary
#AFA760 #608FAF #7F60AF
monochromatic
#635E32 #8C8546 #AFA760 #C3BE89 #D8D4B1

Accessibility & contrast

On white

2.47
#AFA760 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AFA760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA760
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA760#FFFFFF#000000##000000
##AFA7601.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35A
Deuteranopia (green-blind)
#B5A763
Tritanopia (blue-blind)
#B99E96
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa760;
/* rgb */ color: rgb(175, 167, 96);
/* oklch */ color: oklch(71.9% 0.093 102.8);
Tailwind
colors: {
  custom: {
    50: '#c8c18e',
    500: '#afa760',
    950: '#000000',
  },
}
SCSS
$custom: #afa760;
$custom-light: #c8c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa760",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 96
  },
  "hsl": {
    "h": 53.924,
    "s": 33.054,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71921,
    "c": 0.0929,
    "h": 102.8
  },
  "luminance": 0.37596
}

Semantic roles & 50–950 ramp

primary
#AFA760
secondary
#A4A8C6
accent
#69C95F
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA760

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

Preview Lab → · Contrast checker → · Palette generator →

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