#AFA95C#AFA95C

#AFA95C is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.099 H 104.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AFA95C
RGBrgb(175, 169, 92)
HSLhsl(56, 34%, 52%)
HSVhsv(56, 47%, 69%)
CMYKcmyk(0%, 3.4%, 47.4%, 31.4%)
CIE-LABlab(68.21, -8.76, 40.26)
CIE-LCHlch(68.21, 41.20, 102.27°)
OKLaboklab(72.29% -0.0252 0.0962)
OKLCHoklch(72.29% 0.099 104.7)
XYZxyz(33.7997, 38.2636, 15.7283)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA95C #5C62AF
analogous
#AF805C #AFA95C #8BAF5C
triadic
#AFA95C #5CAFA9 #A95CAF
tetradic
#AFA95C #5CAF80 #5C62AF #AF5C8B
square
#AFA95C #5CAF80 #5C62AF #AF5C8B
split-complementary
#AFA95C #5C8BAF #805CAF
monochromatic
#615D30 #8A8544 #AFA95C #C3BF85 #D7D4AE

Accessibility & contrast

On white

2.43
#AFA95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#AFA95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA95C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA95C#FFFFFF#000000##000000
##AFA95C1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A455
Deuteranopia (green-blind)
#B7A85F
Tritanopia (blue-blind)
#BAA097
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa95c;
/* rgb */ color: rgb(175, 169, 92);
/* oklch */ color: oklch(72.3% 0.099 104.7);
Tailwind
colors: {
  custom: {
    50: '#c8c28c',
    500: '#afa95c',
    950: '#000000',
  },
}
SCSS
$custom: #afa95c;
$custom-light: #c8c28c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa95c",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 92
  },
  "hsl": {
    "h": 55.663,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72294,
    "c": 0.09943,
    "h": 104.7
  },
  "luminance": 0.38263
}

Semantic roles & 50–950 ramp

primary
#AFA95C
secondary
#A1A4C5
accent
#65CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA95C

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

Preview Lab → · Contrast checker → · Palette generator →

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