#AFAE3A#AFAE3A

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

Color values

HEX#AFAE3A
RGBrgb(175, 174, 58)
HSLhsl(59, 50%, 46%)
HSVhsv(59, 67%, 69%)
CMYKcmyk(0%, 0.6%, 66.9%, 31.4%)
CIE-LABlab(69.25, -13.99, 57.07)
CIE-LCHlch(69.25, 58.75, 103.77°)
OKLaboklab(73.01% -0.0437 0.1281)
OKLCHoklch(73.01% 0.135 108.9)
XYZxyz(33.5801, 39.6925, 9.8947)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE3A #3A3BAF
analogous
#AF733A #AFAE3A #75AF3A
triadic
#AFAE3A #3AAFAE #AE3AAF
tetradic
#AFAE3A #3AAF73 #3A3BAF #AF3A75
square
#AFAE3A #3AAF73 #3A3BAF #AF3A75
split-complementary
#AFAE3A #3A75AF #733AAF
monochromatic
#53531C #81802B #AFAE3A #C9C85D #D9D88B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE3A#FFFFFF#000000##000000
##AFAE3A1.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)
#BCA729
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae3a;
/* rgb */ color: rgb(175, 174, 58);
/* oklch */ color: oklch(73.0% 0.135 108.9);
Tailwind
colors: {
  custom: {
    50: '#cac577',
    500: '#afae3a',
    950: '#000000',
  },
}
SCSS
$custom: #afae3a;
$custom-light: #cac577;
$custom-dark: #000000;
JSON
{
  "hex": "#afae3a",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 59.487,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.1354,
    "h": 108.9
  },
  "luminance": 0.39692
}

Semantic roles & 50–950 ramp

primary
#AFAE3A
secondary
#8282C3
accent
#4FDA4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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