#AFA32E#AFA32E

#AFA32E is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.133 H 103.3°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA32E
RGBrgb(175, 163, 46)
HSLhsl(54, 58%, 43%)
HSVhsv(54, 74%, 69%)
CMYKcmyk(0%, 6.9%, 73.7%, 31.4%)
CIE-LABlab(66.14, -8.88, 58.59)
CIE-LCHlch(66.14, 59.26, 98.62°)
OKLaboklab(70.51% -0.0306 0.1293)
OKLCHoklch(70.51% 0.133 103.3)
XYZxyz(31.2709, 35.5069, 7.7906)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA32E #2E3AAF
analogous
#AF632E #AFA32E #7AAF2E
triadic
#AFA32E #2EAFA3 #A32EAF
tetradic
#AFA32E #2EAF63 #2E3AAF #AF2E7A
square
#AFA32E #2EAF63 #2E3AAF #AF2E7A
split-complementary
#AFA32E #2E7AAF #632EAF
monochromatic
#4E4915 #7F7621 #AFA32E #D0C34B #DCD37B

Accessibility & contrast

On white

2.59
#AFA32E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AFA32E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA32E
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA32E#FFFFFF#000000##000000
##AFA32E1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E19
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#BC978C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #afa32e;
/* rgb */ color: rgb(175, 163, 46);
/* oklch */ color: oklch(70.5% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#cabd6f',
    500: '#afa32e',
    950: '#000000',
  },
}
SCSS
$custom: #afa32e;
$custom-light: #cabd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#afa32e",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 54.419,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.70508,
    "c": 0.13283,
    "h": 103.3
  },
  "luminance": 0.35506
}

Semantic roles & 50–950 ramp

primary
#AFA32E
secondary
#747CC5
accent
#55E246
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA32E

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

Preview Lab → · Contrast checker → · Palette generator →

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