#AFA14A#AFA14A

#AFA14A is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.3% C 0.109 H 100.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AFA14A
RGBrgb(175, 161, 74)
HSLhsl(52, 41%, 49%)
HSVhsv(52, 58%, 69%)
CMYKcmyk(0%, 8%, 57.7%, 31.4%)
CIE-LABlab(65.83, -6.09, 46.31)
CIE-LCHlch(65.83, 46.71, 97.50°)
OKLaboklab(70.33% -0.0195 0.1076)
OKLCHoklch(70.33% 0.109 100.3)
XYZxyz(31.6612, 35.0994, 11.5843)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA14A #4A58AF
analogous
#AF6F4A #AFA14A #8BAF4A
triadic
#AFA14A #4AAFA1 #A14AAF
tetradic
#AFA14A #4AAF6F #4A58AF #AF4A8B
square
#AFA14A #4AAF6F #4A58AF #AF4A8B
split-complementary
#AFA14A #4A8BAF #6F4AAF
monochromatic
#595226 #847938 #AFA14A #C4B873 #D6CE9E

Accessibility & contrast

On white

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

On black

8.02
#AFA14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA14A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA14A#FFFFFF#000000##000000
##AFA14A1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa14a;
/* rgb */ color: rgb(175, 161, 74);
/* oklch */ color: oklch(70.3% 0.109 100.3);
Tailwind
colors: {
  custom: {
    50: '#c9bc7f',
    500: '#afa14a',
    950: '#000000',
  },
}
SCSS
$custom: #afa14a;
$custom-light: #c9bc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa14a",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 74
  },
  "hsl": {
    "h": 51.683,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.10936,
    "h": 100.3
  },
  "luminance": 0.35098
}

Semantic roles & 50–950 ramp

primary
#AFA14A
secondary
#9299C2
accent
#68D057
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFA14A

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

Preview Lab → · Contrast checker → · Palette generator →

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