#AFA749#AFA749

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

Color values

HEX#AFA749
RGBrgb(175, 167, 73)
HSLhsl(55, 41%, 49%)
HSVhsv(55, 58%, 69%)
CMYKcmyk(0%, 4.6%, 58.3%, 31.4%)
CIE-LABlab(67.45, -9.35, 48.62)
CIE-LCHlch(67.45, 49.51, 100.88°)
OKLaboklab(71.62% -0.0289 0.1124)
OKLCHoklch(71.62% 0.116 104.4)
XYZxyz(32.7016, 37.2335, 11.7662)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA749 #4951AF
analogous
#AF7449 #AFA749 #84AF49
triadic
#AFA749 #49AFA7 #A749AF
tetradic
#AFA749 #49AF74 #4951AF #AF4984
square
#AFA749 #49AF74 #4951AF #AF4984
split-complementary
#AFA749 #4984AF #7449AF
monochromatic
#595525 #847E37 #AFA749 #C4BD71 #D6D19C

Accessibility & contrast

On white

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

On black

8.45
#AFA749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA749
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA749#FFFFFF#000000##000000
##AFA7491.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa749;
/* rgb */ color: rgb(175, 167, 73);
/* oklch */ color: oklch(71.6% 0.116 104.4);
Tailwind
colors: {
  custom: {
    50: '#c9c07f',
    500: '#afa749',
    950: '#000000',
  },
}
SCSS
$custom: #afa749;
$custom-light: #c9c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa749",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 73
  },
  "hsl": {
    "h": 55.294,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.1161,
    "h": 104.4
  },
  "luminance": 0.37232
}

Semantic roles & 50–950 ramp

primary
#AFA749
secondary
#9195C2
accent
#60D157
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA749

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

Preview Lab → · Contrast checker → · Palette generator →

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