#AFA14C#AFA14C

#AFA14C is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.107 H 100.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#AFA14C
RGBrgb(175, 161, 76)
HSLhsl(52, 39%, 49%)
HSVhsv(52, 57%, 69%)
CMYKcmyk(0%, 8%, 56.6%, 31.4%)
CIE-LABlab(65.85, -5.94, 45.37)
CIE-LCHlch(65.85, 45.76, 97.45°)
OKLaboklab(70.36% -0.0188 0.1058)
OKLCHoklch(70.36% 0.107 100.1)
XYZxyz(31.7297, 35.1267, 11.9449)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA14C #4C5AAF
analogous
#AF704C #AFA14C #8CAF4C
triadic
#AFA14C #4CAFA1 #A14CAF
tetradic
#AFA14C #4CAF70 #4C5AAF #AF4C8C
square
#AFA14C #4CAF70 #4C5AAF #AF4C8C
split-complementary
#AFA14C #4C8CAF #704CAF
monochromatic
#5A5227 #847A39 #AFA14C #C3B875 #D6CEA0

Accessibility & contrast

On white

2.62
#AFA14C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#AFA14C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA14C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA14C#FFFFFF#000000##000000
##AFA14C1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D44
Deuteranopia (green-blind)
#B2A250
Tritanopia (blue-blind)
#BB978E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa14c;
/* rgb */ color: rgb(175, 161, 76);
/* oklch */ color: oklch(70.4% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#c9bc81',
    500: '#afa14c',
    950: '#000000',
  },
}
SCSS
$custom: #afa14c;
$custom-light: #c9bc81;
$custom-dark: #000000;
JSON
{
  "hex": "#afa14c",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 76
  },
  "hsl": {
    "h": 51.515,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.10749,
    "h": 100.1
  },
  "luminance": 0.35126
}

Semantic roles & 50–950 ramp

primary
#AFA14C
secondary
#949BC2
accent
#69CF58
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA14C

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

Preview Lab → · Contrast checker → · Palette generator →

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