#AFA632#AFA632

#AFA632 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.2% C 0.133 H 104.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA632
RGBrgb(175, 166, 50)
HSLhsl(56, 56%, 44%)
HSVhsv(56, 71%, 69%)
CMYKcmyk(0%, 5.1%, 71.4%, 31.4%)
CIE-LABlab(66.99, -10.27, 57.93)
CIE-LCHlch(66.99, 58.83, 100.05°)
OKLaboklab(71.19% -0.0341 0.1286)
OKLCHoklch(71.19% 0.133 104.9)
XYZxyz(31.8924, 36.6179, 8.4050)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA632 #323BAF
analogous
#AF6832 #AFA632 #7AAF32
triadic
#AFA632 #32AFA6 #A632AF
tetradic
#AFA632 #32AF68 #323BAF #AF327A
square
#AFA632 #32AF68 #323BAF #AF327A
split-complementary
#AFA632 #327AAF #6832AF
monochromatic
#504C17 #7F7924 #AFA632 #CDC451 #DBD481

Accessibility & contrast

On white

2.52
#AFA632 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AFA632 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA632
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA632#FFFFFF#000000##000000
##AFA6321.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01F
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#BC9B8F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa632;
/* rgb */ color: rgb(175, 166, 50);
/* oklch */ color: oklch(71.2% 0.133 104.9);
Tailwind
colors: {
  custom: {
    50: '#cac072',
    500: '#afa632',
    950: '#000000',
  },
}
SCSS
$custom: #afa632;
$custom-light: #cac072;
$custom-dark: #000000;
JSON
{
  "hex": "#afa632",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 50
  },
  "hsl": {
    "h": 55.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7119,
    "c": 0.13302,
    "h": 104.9
  },
  "luminance": 0.36617
}

Semantic roles & 50–950 ramp

primary
#AFA632
secondary
#797EC4
accent
#54DF49
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141208
muted
#82817B

Preview Lab

Preview with #AFA632

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

Preview Lab → · Contrast checker → · Palette generator →

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