#AFA94E#AFA94E

#AFA94E is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.114 H 105.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#AFA94E
RGBrgb(175, 169, 78)
HSLhsl(56, 38%, 50%)
HSVhsv(56, 55%, 69%)
CMYKcmyk(0%, 3.4%, 55.4%, 31.4%)
CIE-LABlab(68.05, -10.00, 46.95)
CIE-LCHlch(68.05, 48.00, 102.03°)
OKLaboklab(72.11% -0.0302 0.1094)
OKLCHoklch(72.11% 0.114 105.4)
XYZxyz(33.2433, 38.0410, 12.7978)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA94E #4E54AF
analogous
#AF794E #AFA94E #84AF4E
triadic
#AFA94E #4EAFA9 #A94EAF
tetradic
#AFA94E #4EAF79 #4E54AF #AF4E84
square
#AFA94E #4EAF79 #4E54AF #AF4E84
split-complementary
#AFA94E #4E84AF #794EAF
monochromatic
#5A5728 #85803B #AFA94E #C3BE78 #D6D2A2

Accessibility & contrast

On white

2.44
#AFA94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#AFA94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA94E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA94E#FFFFFF#000000##000000
##AFA94E1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A345
Deuteranopia (green-blind)
#B8A853
Tritanopia (blue-blind)
#BB9F95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa94e;
/* rgb */ color: rgb(175, 169, 78);
/* oklch */ color: oklch(72.1% 0.114 105.4);
Tailwind
colors: {
  custom: {
    50: '#c9c282',
    500: '#afa94e',
    950: '#000000',
  },
}
SCSS
$custom: #afa94e;
$custom-light: #c9c282;
$custom-dark: #000000;
JSON
{
  "hex": "#afa94e",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 78
  },
  "hsl": {
    "h": 56.289,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.11354,
    "h": 105.4
  },
  "luminance": 0.3804
}

Semantic roles & 50–950 ramp

primary
#AFA94E
secondary
#9699C3
accent
#61CE5A
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFA94E

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

Preview Lab → · Contrast checker → · Palette generator →

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