#AFA748#AFA748

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

Color values

HEX#AFA748
RGBrgb(175, 167, 72)
HSLhsl(55, 42%, 48%)
HSVhsv(55, 59%, 69%)
CMYKcmyk(0%, 4.6%, 58.9%, 31.4%)
CIE-LABlab(67.44, -9.42, 49.07)
CIE-LCHlch(67.44, 49.97, 100.87°)
OKLaboklab(71.61% -0.0293 0.1133)
OKLCHoklch(71.61% 0.117 104.5)
XYZxyz(32.6687, 37.2204, 11.5930)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA748 #4850AF
analogous
#AF7348 #AFA748 #83AF48
triadic
#AFA748 #48AFA7 #A748AF
tetradic
#AFA748 #48AF73 #4850AF #AF4883
square
#AFA748 #48AF73 #4850AF #AF4883
split-complementary
#AFA748 #4883AF #7348AF
monochromatic
#585424 #847E36 #AFA748 #C4BE70 #D6D19B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA748#FFFFFF#000000##000000
##AFA7481.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)
#B4A23E
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#BB9D92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa748;
/* rgb */ color: rgb(175, 167, 72);
/* oklch */ color: oklch(71.6% 0.117 104.5);
Tailwind
colors: {
  custom: {
    50: '#c9c07f',
    500: '#afa748',
    950: '#000000',
  },
}
SCSS
$custom: #afa748;
$custom-light: #c9c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa748",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 72
  },
  "hsl": {
    "h": 55.34,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71608,
    "c": 0.117,
    "h": 104.5
  },
  "luminance": 0.37219
}

Semantic roles & 50–950 ramp

primary
#AFA748
secondary
#9094C2
accent
#60D256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA748

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

Preview Lab → · Contrast checker → · Palette generator →

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