#AFA24A#AFA24A

#AFA24A is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.110 H 101.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#AFA24A
RGBrgb(175, 162, 74)
HSLhsl(52, 41%, 49%)
HSVhsv(52, 58%, 69%)
CMYKcmyk(0%, 7.4%, 57.7%, 31.4%)
CIE-LABlab(66.10, -6.63, 46.62)
CIE-LCHlch(66.10, 47.09, 98.09°)
OKLaboklab(70.55% -0.021 0.1083)
OKLCHoklch(70.55% 0.11 101)
XYZxyz(31.8367, 35.4503, 11.6428)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA24A #4A57AF
analogous
#AF704A #AFA24A #8AAF4A
triadic
#AFA24A #4AAFA2 #A24AAF
tetradic
#AFA24A #4AAF70 #4A57AF #AF4A8A
square
#AFA24A #4AAF70 #4A57AF #AF4A8A
split-complementary
#AFA24A #4A8AAF #704AAF
monochromatic
#595226 #847A38 #AFA24A #C4B973 #D6CF9E

Accessibility & contrast

On white

2.60
#AFA24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#AFA24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA24A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA24A#FFFFFF#000000##000000
##AFA24A1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E41
Deuteranopia (green-blind)
#B3A34E
Tritanopia (blue-blind)
#BB988F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa24a;
/* rgb */ color: rgb(175, 162, 74);
/* oklch */ color: oklch(70.5% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#c9bd7f',
    500: '#afa24a',
    950: '#000000',
  },
}
SCSS
$custom: #afa24a;
$custom-light: #c9bd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa24a",
  "rgb": {
    "r": 175,
    "g": 162,
    "b": 74
  },
  "hsl": {
    "h": 52.277,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70547,
    "c": 0.11029,
    "h": 101
  },
  "luminance": 0.35449
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA24A

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

Preview Lab → · Contrast checker → · Palette generator →

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