#AFB975#AFB975

#AFB975 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.091 H 115.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#AFB975
RGBrgb(175, 185, 117)
HSLhsl(69, 33%, 59%)
HSVhsv(69, 37%, 73%)
CMYKcmyk(5.4%, 0%, 36.8%, 27.5%)
CIE-LABlab(72.96, -14.31, 33.38)
CIE-LCHlch(72.96, 36.32, 113.21°)
OKLaboklab(76.18% -0.039 0.0821)
OKLCHoklch(76.18% 0.091 115.4)
XYZxyz(38.2392, 45.0966, 23.5162)
Luminance0.4510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB975 #7F75B9
analogous
#B9A175 #AFB975 #8DB975
triadic
#AFB975 #75AFB9 #B975AF
tetradic
#AFB975 #75B9A1 #7F75B9 #B9758D
square
#AFB975 #75B9A1 #7F75B9 #B9758D
split-complementary
#AFB975 #758DB9 #A175B9
monochromatic
#6F773C #94A051 #AFB975 #C7CE9E #DEE2C6

Accessibility & contrast

On white

2.10
#AFB975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#AFB975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB975
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB975#FFFFFF#000000##000000
##AFB9751.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B370
Deuteranopia (green-blind)
#C1B478
Tritanopia (blue-blind)
#B6B2A8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afb975;
/* rgb */ color: rgb(175, 185, 117);
/* oklch */ color: oklch(76.2% 0.091 115.4);
Tailwind
colors: {
  custom: {
    50: '#c8ce9d',
    500: '#afb975',
    950: '#000000',
  },
}
SCSS
$custom: #afb975;
$custom-light: #c8ce9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb975",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 117
  },
  "hsl": {
    "h": 68.824,
    "s": 32.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.76182,
    "c": 0.09088,
    "h": 115.4
  },
  "luminance": 0.45096
}

Semantic roles & 50–950 ramp

primary
#AFB975
secondary
#BCB8D2
accent
#5FC96F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFB975

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

Preview Lab → · Contrast checker → · Palette generator →

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