#AFA746#AFA746

#AFA746 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.119 H 104.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA746
RGBrgb(175, 167, 70)
HSLhsl(55, 43%, 48%)
HSVhsv(55, 60%, 69%)
CMYKcmyk(0%, 4.6%, 60%, 31.4%)
CIE-LABlab(67.42, -9.57, 49.97)
CIE-LCHlch(67.42, 50.88, 100.84°)
OKLaboklab(71.59% -0.0299 0.1149)
OKLCHoklch(71.59% 0.119 104.6)
XYZxyz(32.6045, 37.1947, 11.2550)
Luminance0.3719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA746 #464EAF
analogous
#AF7346 #AFA746 #82AF46
triadic
#AFA746 #46AFA7 #A746AF
tetradic
#AFA746 #46AF73 #464EAF #AF4682
square
#AFA746 #46AF73 #464EAF #AF4682
split-complementary
#AFA746 #4682AF #7346AF
monochromatic
#585423 #837D35 #AFA746 #C5BE6D #D6D299

Accessibility & contrast

On white

2.49
#AFA746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#AFA746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA746
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA746#FFFFFF#000000##000000
##AFA7461.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23B
Deuteranopia (green-blind)
#B7A64B
Tritanopia (blue-blind)
#BB9D92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa746;
/* rgb */ color: rgb(175, 167, 70);
/* oklch */ color: oklch(71.6% 0.119 104.6);
Tailwind
colors: {
  custom: {
    50: '#c9c07d',
    500: '#afa746',
    950: '#000000',
  },
}
SCSS
$custom: #afa746;
$custom-light: #c9c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa746",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 70
  },
  "hsl": {
    "h": 55.429,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.11876,
    "h": 104.6
  },
  "luminance": 0.37194
}

Semantic roles & 50–950 ramp

primary
#AFA746
secondary
#8E92C2
accent
#5FD355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFA746

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

Preview Lab → · Contrast checker → · Palette generator →

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