#AFAE3F#AFAE3F

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

Color values

HEX#AFAE3F
RGBrgb(175, 174, 63)
HSLhsl(59, 47%, 47%)
HSVhsv(59, 64%, 69%)
CMYKcmyk(0%, 0.6%, 64%, 31.4%)
CIE-LABlab(69.29, -13.69, 55.05)
CIE-LCHlch(69.29, 56.73, 103.96°)
OKLaboklab(73.05% -0.0424 0.1247)
OKLCHoklch(73.05% 0.132 108.8)
XYZxyz(33.7135, 39.7459, 10.5975)
Luminance0.3975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE3F #3F40AF
analogous
#AF763F #AFAE3F #78AF3F
triadic
#AFAE3F #3FAFAE #AE3FAF
tetradic
#AFAE3F #3FAF76 #3F40AF #AF3F78
square
#AFAE3F #3FAF76 #3F40AF #AF3F78
split-complementary
#AFAE3F #3F78AF #763FAF
monochromatic
#55551F #82812F #AFAE3F #C7C664 #D7D791

Accessibility & contrast

On white

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

On black

8.95
#AFAE3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE3F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE3F#FFFFFF#000000##000000
##AFAE3F1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afae3f;
/* rgb */ color: rgb(175, 174, 63);
/* oklch */ color: oklch(73.1% 0.132 108.8);
Tailwind
colors: {
  custom: {
    50: '#cac57a',
    500: '#afae3f',
    950: '#000000',
  },
}
SCSS
$custom: #afae3f;
$custom-light: #cac57a;
$custom-dark: #000000;
JSON
{
  "hex": "#afae3f",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 63
  },
  "hsl": {
    "h": 59.464,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73053,
    "c": 0.13169,
    "h": 108.8
  },
  "luminance": 0.39745
}

Semantic roles & 50–950 ramp

primary
#AFAE3F
secondary
#8788C3
accent
#52D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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