#AFAE4A#AFAE4A

#AFAE4A is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.123 H 108.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#AFAE4A
RGBrgb(175, 174, 74)
HSLhsl(59, 41%, 49%)
HSVhsv(59, 58%, 69%)
CMYKcmyk(0%, 0.6%, 57.7%, 31.4%)
CIE-LABlab(69.39, -12.92, 50.32)
CIE-LCHlch(69.39, 51.95, 104.40°)
OKLaboklab(73.16% -0.039 0.1162)
OKLCHoklch(73.16% 0.123 108.6)
XYZxyz(34.0523, 39.8814, 12.3813)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE4A #4A4BAF
analogous
#AF7C4A #AFAE4A #7EAF4A
triadic
#AFAE4A #4AAFAE #AE4AAF
tetradic
#AFAE4A #4AAF7C #4A4BAF #AF4A7E
square
#AFAE4A #4AAF7C #4A4BAF #AF4A7E
split-complementary
#AFAE4A #4A7EAF #7C4AAF
monochromatic
#595826 #848338 #AFAE4A #C4C373 #D6D59E

Accessibility & contrast

On white

2.34
#AFAE4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#AFAE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE4A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE4A#FFFFFF#000000##000000
##AFAE4A1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73F
Deuteranopia (green-blind)
#BDAB50
Tritanopia (blue-blind)
#BAA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae4a;
/* rgb */ color: rgb(175, 174, 74);
/* oklch */ color: oklch(73.2% 0.123 108.6);
Tailwind
colors: {
  custom: {
    50: '#c9c680',
    500: '#afae4a',
    950: '#000000',
  },
}
SCSS
$custom: #afae4a;
$custom-light: #c9c680;
$custom-dark: #000000;
JSON
{
  "hex": "#afae4a",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 74
  },
  "hsl": {
    "h": 59.406,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73161,
    "c": 0.12256,
    "h": 108.6
  },
  "luminance": 0.3988
}

Semantic roles & 50–950 ramp

primary
#AFAE4A
secondary
#9293C2
accent
#59D057
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFAE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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