#AFA75D#AFA75D

#AFA75D is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.096 H 103.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#AFA75D
RGBrgb(175, 167, 93)
HSLhsl(54, 34%, 53%)
HSVhsv(54, 47%, 69%)
CMYKcmyk(0%, 4.6%, 46.9%, 31.4%)
CIE-LABlab(67.68, -7.60, 39.10)
CIE-LCHlch(67.68, 39.83, 101.00°)
OKLaboklab(71.88% -0.0217 0.0937)
OKLCHoklch(71.88% 0.096 103.1)
XYZxyz(33.4745, 37.5427, 15.8369)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA75D #5D65AF
analogous
#AF7E5D #AFA75D #8EAF5D
triadic
#AFA75D #5DAFA7 #A75DAF
tetradic
#AFA75D #5DAF7E #5D65AF #AF5D8E
square
#AFA75D #5DAF7E #5D65AF #AF5D8E
split-complementary
#AFA75D #5D8EAF #7E5DAF
monochromatic
#615D30 #8A8444 #AFA75D #C3BD86 #D7D4AF

Accessibility & contrast

On white

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

On black

8.51
#AFA75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA75D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA75D#FFFFFF#000000##000000
##AFA75D1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A357
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#BA9E95
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa75d;
/* rgb */ color: rgb(175, 167, 93);
/* oklch */ color: oklch(71.9% 0.096 103.1);
Tailwind
colors: {
  custom: {
    50: '#c8c18c',
    500: '#afa75d',
    950: '#000000',
  },
}
SCSS
$custom: #afa75d;
$custom-light: #c8c18c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa75d",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 93
  },
  "hsl": {
    "h": 54.146,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71876,
    "c": 0.09619,
    "h": 103.1
  },
  "luminance": 0.37542
}

Semantic roles & 50–950 ramp

primary
#AFA75D
secondary
#A2A6C6
accent
#68CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA75D

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

Preview Lab → · Contrast checker → · Palette generator →

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