#AFA94A#AFA94A

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

Color values

HEX#AFA94A
RGBrgb(175, 169, 74)
HSLhsl(56, 41%, 49%)
HSVhsv(56, 58%, 69%)
CMYKcmyk(0%, 3.4%, 57.7%, 31.4%)
CIE-LABlab(68.01, -10.32, 48.78)
CIE-LCHlch(68.01, 49.86, 101.95°)
OKLaboklab(72.07% -0.0316 0.1129)
OKLCHoklch(72.07% 0.117 105.6)
XYZxyz(33.1042, 37.9854, 12.0653)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA94A #4A50AF
analogous
#AF774A #AFA94A #83AF4A
triadic
#AFA94A #4AAFA9 #A94AAF
tetradic
#AFA94A #4AAF77 #4A50AF #AF4A83
square
#AFA94A #4AAF77 #4A50AF #AF4A83
split-complementary
#AFA94A #4A83AF #774AAF
monochromatic
#595626 #847F38 #AFA94A #C4BF73 #D6D29E

Accessibility & contrast

On white

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

On black

8.60
#AFA94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA94A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA94A#FFFFFF#000000##000000
##AFA94A1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A340
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#BB9F94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa94a;
/* rgb */ color: rgb(175, 169, 74);
/* oklch */ color: oklch(72.1% 0.117 105.6);
Tailwind
colors: {
  custom: {
    50: '#c9c280',
    500: '#afa94a',
    950: '#000000',
  },
}
SCSS
$custom: #afa94a;
$custom-light: #c9c280;
$custom-dark: #000000;
JSON
{
  "hex": "#afa94a",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 74
  },
  "hsl": {
    "h": 56.436,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72066,
    "c": 0.11725,
    "h": 105.6
  },
  "luminance": 0.37984
}

Semantic roles & 50–950 ramp

primary
#AFA94A
secondary
#9295C2
accent
#5FD057
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA94A

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

Preview Lab → · Contrast checker → · Palette generator →

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