#AFAE3B#AFAE3B

#AFAE3B is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.135 H 108.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#AFAE3B
RGBrgb(175, 174, 59)
HSLhsl(59, 50%, 46%)
HSVhsv(59, 66%, 69%)
CMYKcmyk(0%, 0.6%, 66.3%, 31.4%)
CIE-LABlab(69.26, -13.93, 56.67)
CIE-LCHlch(69.26, 58.36, 103.81°)
OKLaboklab(73.02% -0.0435 0.1275)
OKLCHoklch(73.02% 0.135 108.8)
XYZxyz(33.6058, 39.7028, 10.0300)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE3B #3B3CAF
analogous
#AF743B #AFAE3B #76AF3B
triadic
#AFAE3B #3BAFAE #AE3BAF
tetradic
#AFAE3B #3BAF74 #3B3CAF #AF3B76
square
#AFAE3B #3BAF74 #3B3CAF #AF3B76
split-complementary
#AFAE3B #3B76AF #743BAF
monochromatic
#53531C #81802C #AFAE3B #C9C85E #D8D88C

Accessibility & contrast

On white

2.35
#AFAE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#AFAE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE3B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE3B#FFFFFF#000000##000000
##AFAE3B1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#BDAB43
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae3b;
/* rgb */ color: rgb(175, 174, 59);
/* oklch */ color: oklch(73.0% 0.135 108.8);
Tailwind
colors: {
  custom: {
    50: '#cac577',
    500: '#afae3b',
    950: '#000000',
  },
}
SCSS
$custom: #afae3b;
$custom-light: #cac577;
$custom-dark: #000000;
JSON
{
  "hex": "#afae3b",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 59.483,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73018,
    "c": 0.13468,
    "h": 108.8
  },
  "luminance": 0.39702
}

Semantic roles & 50–950 ramp

primary
#AFAE3B
secondary
#8383C3
accent
#50D94F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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