#AFAE4B#AFAE4B

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

Color values

HEX#AFAE4B
RGBrgb(175, 174, 75)
HSLhsl(59, 40%, 49%)
HSVhsv(59, 57%, 69%)
CMYKcmyk(0%, 0.6%, 57.1%, 31.4%)
CIE-LABlab(69.39, -12.84, 49.87)
CIE-LCHlch(69.39, 51.50, 104.44°)
OKLaboklab(73.17% -0.0387 0.1154)
OKLCHoklch(73.17% 0.122 108.5)
XYZxyz(34.0862, 39.8950, 12.5602)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE4B #4B4CAF
analogous
#AF7C4B #AFAE4B #7EAF4B
triadic
#AFAE4B #4BAFAE #AE4BAF
tetradic
#AFAE4B #4BAF7C #4B4CAF #AF4B7E
square
#AFAE4B #4BAF7C #4B4CAF #AF4B7E
split-complementary
#AFAE4B #4B7EAF #7C4BAF
monochromatic
#595926 #848339 #AFAE4B #C3C374 #D6D59F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE4B#FFFFFF#000000##000000
##AFAE4B1.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)
#BBA740
Deuteranopia (green-blind)
#BCAB51
Tritanopia (blue-blind)
#BAA498
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afae4b;
/* rgb */ color: rgb(175, 174, 75);
/* oklch */ color: oklch(73.2% 0.122 108.5);
Tailwind
colors: {
  custom: {
    50: '#c9c681',
    500: '#afae4b',
    950: '#000000',
  },
}
SCSS
$custom: #afae4b;
$custom-light: #c9c681;
$custom-dark: #000000;
JSON
{
  "hex": "#afae4b",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 59.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73172,
    "c": 0.12167,
    "h": 108.5
  },
  "luminance": 0.39894
}

Semantic roles & 50–950 ramp

primary
#AFAE4B
secondary
#9394C2
accent
#59D058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120A
muted
#82817C

Preview Lab

Preview with #AFAE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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