#AFA65F#AFA65F

#AFA65F is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.093 H 102.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA65F
RGBrgb(175, 166, 95)
HSLhsl(53, 33%, 53%)
HSVhsv(53, 46%, 69%)
CMYKcmyk(0%, 5.1%, 45.7%, 31.4%)
CIE-LABlab(67.44, -6.87, 37.77)
CIE-LCHlch(67.44, 38.39, 100.31°)
OKLaboklab(71.69% -0.0194 0.0909)
OKLCHoklch(71.69% 0.093 102.1)
XYZxyz(33.3818, 37.2136, 16.2488)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA65F #5F68AF
analogous
#AF7E5F #AFA65F #90AF5F
triadic
#AFA65F #5FAFA6 #A65FAF
tetradic
#AFA65F #5FAF7E #5F68AF #AF5F90
square
#AFA65F #5FAF7E #5F68AF #AF5F90
split-complementary
#AFA65F #5F90AF #7E5FAF
monochromatic
#625D31 #8B8346 #AFA65F #C3BD88 #D8D3B1

Accessibility & contrast

On white

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

On black

8.44
#AFA65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA65F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA65F#FFFFFF#000000##000000
##AFA65F1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A259
Deuteranopia (green-blind)
#B5A662
Tritanopia (blue-blind)
#BA9D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa65f;
/* rgb */ color: rgb(175, 166, 95);
/* oklch */ color: oklch(71.7% 0.093 102.1);
Tailwind
colors: {
  custom: {
    50: '#c8c08e',
    500: '#afa65f',
    950: '#000000',
  },
}
SCSS
$custom: #afa65f;
$custom-light: #c8c08e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa65f",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 95
  },
  "hsl": {
    "h": 53.25,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7169,
    "c": 0.09294,
    "h": 102.1
  },
  "luminance": 0.37213
}

Semantic roles & 50–950 ramp

primary
#AFA65F
secondary
#A4A7C6
accent
#6AC95E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA65F

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

Preview Lab → · Contrast checker → · Palette generator →

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