#AFA65A#AFA65A

#AFA65A is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.098 H 102.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#AFA65A
RGBrgb(175, 166, 90)
HSLhsl(54, 35%, 52%)
HSVhsv(54, 49%, 69%)
CMYKcmyk(0%, 5.1%, 48.6%, 31.4%)
CIE-LABlab(67.37, -7.36, 40.24)
CIE-LCHlch(67.37, 40.91, 100.37°)
OKLaboklab(71.62% -0.0214 0.096)
OKLCHoklch(71.62% 0.098 102.5)
XYZxyz(33.1617, 37.1256, 15.0900)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA65A #5A63AF
analogous
#AF7C5A #AFA65A #8EAF5A
triadic
#AFA65A #5AAFA6 #A65AAF
tetradic
#AFA65A #5AAF7C #5A63AF #AF5A8E
square
#AFA65A #5AAF7C #5A63AF #AF5A8E
split-complementary
#AFA65A #5A8EAF #7C5AAF
monochromatic
#605B2F #898243 #AFA65A #C3BC83 #D7D2AC

Accessibility & contrast

On white

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

On black

8.42
#AFA65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA65A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA65A#FFFFFF#000000##000000
##AFA65A1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa65a;
/* rgb */ color: rgb(175, 166, 90);
/* oklch */ color: oklch(71.6% 0.098 102.5);
Tailwind
colors: {
  custom: {
    50: '#c9c08a',
    500: '#afa65a',
    950: '#000000',
  },
}
SCSS
$custom: #afa65a;
$custom-light: #c9c08a;
$custom-dark: #000000;
JSON
{
  "hex": "#afa65a",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 90
  },
  "hsl": {
    "h": 53.647,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71617,
    "c": 0.09835,
    "h": 102.5
  },
  "luminance": 0.37125
}

Semantic roles & 50–950 ramp

primary
#AFA65A
secondary
#A0A4C5
accent
#69CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA65A

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

Preview Lab → · Contrast checker → · Palette generator →

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