#AFA750#AFA750

#AFA750 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.110 H 104.0°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#AFA750
RGBrgb(175, 167, 80)
HSLhsl(55, 37%, 50%)
HSVhsv(55, 54%, 69%)
CMYKcmyk(0%, 4.6%, 54.3%, 31.4%)
CIE-LABlab(67.53, -8.79, 45.38)
CIE-LCHlch(67.53, 46.22, 100.96°)
OKLaboklab(71.7% -0.0265 0.1063)
OKLCHoklch(71.7% 0.11 104)
XYZxyz(32.9469, 37.3317, 13.0581)
Luminance0.3733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA750 #5058AF
analogous
#AF7750 #AFA750 #88AF50
triadic
#AFA750 #50AFA7 #A750AF
tetradic
#AFA750 #50AF77 #5058AF #AF5088
square
#AFA750 #50AF77 #5058AF #AF5088
split-complementary
#AFA750 #5088AF #7750AF
monochromatic
#5B572A #857F3D #AFA750 #C2BC7A #D5D1A4

Accessibility & contrast

On white

2.48
#AFA750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#AFA750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA750
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA750#FFFFFF#000000##000000
##AFA7501.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A248
Deuteranopia (green-blind)
#B7A654
Tritanopia (blue-blind)
#BB9D93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa750;
/* rgb */ color: rgb(175, 167, 80);
/* oklch */ color: oklch(71.7% 0.110 104.0);
Tailwind
colors: {
  custom: {
    50: '#c9c084',
    500: '#afa750',
    950: '#000000',
  },
}
SCSS
$custom: #afa750;
$custom-light: #c9c084;
$custom-dark: #000000;
JSON
{
  "hex": "#afa750",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 80
  },
  "hsl": {
    "h": 54.947,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.71701,
    "c": 0.10954,
    "h": 104
  },
  "luminance": 0.37331
}

Semantic roles & 50–950 ramp

primary
#AFA750
secondary
#989CC3
accent
#64CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA750

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

Preview Lab → · Contrast checker → · Palette generator →

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