#AFA65E#AFA65E

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

Color values

HEX#AFA65E
RGBrgb(175, 166, 94)
HSLhsl(53, 34%, 53%)
HSVhsv(53, 46%, 69%)
CMYKcmyk(0%, 5.1%, 46.3%, 31.4%)
CIE-LABlab(67.42, -6.97, 38.27)
CIE-LCHlch(67.42, 38.90, 100.32°)
OKLaboklab(71.68% -0.0198 0.0919)
OKLCHoklch(71.68% 0.094 102.2)
XYZxyz(33.3366, 37.1956, 16.0109)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA65E #5E67AF
analogous
#AF7D5E #AFA65E #90AF5E
triadic
#AFA65E #5EAFA6 #A65EAF
tetradic
#AFA65E #5EAF7D #5E67AF #AF5E90
square
#AFA65E #5EAF7D #5E67AF #AF5E90
split-complementary
#AFA65E #5E90AF #7D5EAF
monochromatic
#625C31 #8B8345 #AFA65E #C3BD87 #D8D3B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA65E#FFFFFF#000000##000000
##AFA65E1.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)
#B2A258
Deuteranopia (green-blind)
#B5A661
Tritanopia (blue-blind)
#BA9D95
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa65e;
/* rgb */ color: rgb(175, 166, 94);
/* oklch */ color: oklch(71.7% 0.094 102.2);
Tailwind
colors: {
  custom: {
    50: '#c8c08d',
    500: '#afa65e',
    950: '#000000',
  },
}
SCSS
$custom: #afa65e;
$custom-light: #c8c08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afa65e",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 94
  },
  "hsl": {
    "h": 53.333,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.09403,
    "h": 102.2
  },
  "luminance": 0.37195
}

Semantic roles & 50–950 ramp

primary
#AFA65E
secondary
#A3A7C6
accent
#6ACA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #AFA65E

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

Preview Lab → · Contrast checker → · Palette generator →

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