#AFA65C#AFA65C

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

Color values

HEX#AFA65C
RGBrgb(175, 166, 92)
HSLhsl(53, 34%, 52%)
HSVhsv(53, 47%, 69%)
CMYKcmyk(0%, 5.1%, 47.4%, 31.4%)
CIE-LABlab(67.40, -7.17, 39.26)
CIE-LCHlch(67.40, 39.91, 100.35°)
OKLaboklab(71.65% -0.0206 0.094)
OKLCHoklch(71.65% 0.096 102.4)
XYZxyz(33.2480, 37.1601, 15.5444)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA65C #5C65AF
analogous
#AF7D5C #AFA65C #8FAF5C
triadic
#AFA65C #5CAFA6 #A65CAF
tetradic
#AFA65C #5CAF7D #5C65AF #AF5C8F
square
#AFA65C #5CAF7D #5C65AF #AF5C8F
split-complementary
#AFA65C #5C8FAF #7D5CAF
monochromatic
#615C30 #8A8244 #AFA65C #C3BC85 #D7D3AE

Accessibility & contrast

On white

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

On black

8.43
#AFA65C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA65C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA65C#FFFFFF#000000##000000
##AFA65C1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A256
Deuteranopia (green-blind)
#B5A65F
Tritanopia (blue-blind)
#BA9D94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa65c;
/* rgb */ color: rgb(175, 166, 92);
/* oklch */ color: oklch(71.6% 0.096 102.4);
Tailwind
colors: {
  custom: {
    50: '#c8c08c',
    500: '#afa65c',
    950: '#000000',
  },
}
SCSS
$custom: #afa65c;
$custom-light: #c8c08c;
$custom-dark: #000000;
JSON
{
  "hex": "#afa65c",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 92
  },
  "hsl": {
    "h": 53.494,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.09621,
    "h": 102.4
  },
  "luminance": 0.37159
}

Semantic roles & 50–950 ramp

primary
#AFA65C
secondary
#A1A5C5
accent
#69CA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA65C

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

Preview Lab → · Contrast checker → · Palette generator →

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