#AFA14D#AFA14D

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

Color values

HEX#AFA14D
RGBrgb(175, 161, 77)
HSLhsl(51, 39%, 49%)
HSVhsv(51, 56%, 69%)
CMYKcmyk(0%, 8%, 56%, 31.4%)
CIE-LABlab(65.86, -5.86, 44.90)
CIE-LCHlch(65.86, 45.28, 97.43°)
OKLaboklab(70.37% -0.0185 0.1049)
OKLCHoklch(70.37% 0.107 100)
XYZxyz(31.7647, 35.1408, 12.1294)
Luminance0.3514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA14D #4D5BAF
analogous
#AF704D #AFA14D #8CAF4D
triadic
#AFA14D #4DAFA1 #A14DAF
tetradic
#AFA14D #4DAF70 #4D5BAF #AF4D8C
square
#AFA14D #4DAF70 #4D5BAF #AF4D8C
split-complementary
#AFA14D #4D8CAF #704DAF
monochromatic
#5A5328 #857A3A #AFA14D #C3B876 #D6CEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA14D#FFFFFF#000000##000000
##AFA14D1.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)
#AE9D45
Deuteranopia (green-blind)
#B2A251
Tritanopia (blue-blind)
#BB978E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #afa14d;
/* rgb */ color: rgb(175, 161, 77);
/* oklch */ color: oklch(70.4% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#c9bc81',
    500: '#afa14d',
    950: '#000000',
  },
}
SCSS
$custom: #afa14d;
$custom-light: #c9bc81;
$custom-dark: #000000;
JSON
{
  "hex": "#afa14d",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 77
  },
  "hsl": {
    "h": 51.429,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70367,
    "c": 0.10653,
    "h": 100
  },
  "luminance": 0.3514
}

Semantic roles & 50–950 ramp

primary
#AFA14D
secondary
#959CC3
accent
#6ACF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA14D

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

Preview Lab → · Contrast checker → · Palette generator →

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