#AFB032#AFB032

#AFB032 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.4% C 0.143 H 109.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#AFB032
RGBrgb(175, 176, 50)
HSLhsl(60, 56%, 44%)
HSVhsv(60, 72%, 69%)
CMYKcmyk(0.6%, 0%, 71.6%, 31%)
CIE-LABlab(69.75, -15.44, 60.61)
CIE-LCHlch(69.75, 62.55, 104.29°)
OKLaboklab(73.39% -0.0486 0.1343)
OKLCHoklch(73.39% 0.143 109.9)
XYZxyz(33.7814, 40.3959, 9.0347)
Luminance0.4039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB032 #3332B0
analogous
#B07232 #AFB032 #70B032
triadic
#AFB032 #32AFB0 #B032AF
tetradic
#AFB032 #32B072 #3332B0 #B03270
square
#AFB032 #32B072 #3332B0 #B03270
split-complementary
#AFB032 #3270B0 #7232B0
monochromatic
#505117 #808024 #AFB032 #CDCE51 #DBDB81

Accessibility & contrast

On white

2.31
#AFB032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#AFB032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB032
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB032#FFFFFF#000000##000000
##AFB0321.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81B
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#BBA598
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afb032;
/* rgb */ color: rgb(175, 176, 50);
/* oklch */ color: oklch(73.4% 0.143 109.9);
Tailwind
colors: {
  custom: {
    50: '#cac773',
    500: '#afb032',
    950: '#000000',
  },
}
SCSS
$custom: #afb032;
$custom-light: #cac773;
$custom-dark: #000000;
JSON
{
  "hex": "#afb032",
  "rgb": {
    "r": 175,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 60.476,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73393,
    "c": 0.14279,
    "h": 109.9
  },
  "luminance": 0.40395
}

Semantic roles & 50–950 ramp

primary
#AFB032
secondary
#7A79C4
accent
#49DF4A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFB032

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

Preview Lab → · Contrast checker → · Palette generator →

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