#AFAE54#AFAE54

#AFAE54 is a light, moderate yellow. Relative luminance 0.400; OKLCH L 73.3% C 0.113 H 108.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AFAE54
RGBrgb(175, 174, 84)
HSLhsl(59, 36%, 51%)
HSVhsv(59, 52%, 69%)
CMYKcmyk(0%, 0.6%, 52%, 31.4%)
CIE-LABlab(69.49, -12.11, 45.74)
CIE-LCHlch(69.49, 47.31, 104.83°)
OKLaboklab(73.28% -0.0356 0.1075)
OKLCHoklch(73.28% 0.113 108.3)
XYZxyz(34.4163, 40.0270, 14.2988)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE54 #5455AF
analogous
#AF8054 #AFAE54 #82AF54
triadic
#AFAE54 #54AFAE #AE54AF
tetradic
#AFAE54 #54AF80 #5455AF #AF5482
square
#AFAE54 #54AF80 #5455AF #AF5482
split-complementary
#AFAE54 #5482AF #8054AF
monochromatic
#5D5D2C #87863F #AFAE54 #C3C27E #D6D5A7

Accessibility & contrast

On white

2.33
#AFAE54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#AFAE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE54
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE54#FFFFFF#000000##000000
##AFAE541.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84B
Deuteranopia (green-blind)
#BCAB59
Tritanopia (blue-blind)
#BAA49A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae54;
/* rgb */ color: rgb(175, 174, 84);
/* oklch */ color: oklch(73.3% 0.113 108.3);
Tailwind
colors: {
  custom: {
    50: '#c9c687',
    500: '#afae54',
    950: '#000000',
  },
}
SCSS
$custom: #afae54;
$custom-light: #c9c687;
$custom-dark: #000000;
JSON
{
  "hex": "#afae54",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 84
  },
  "hsl": {
    "h": 59.341,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73277,
    "c": 0.11321,
    "h": 108.3
  },
  "luminance": 0.40026
}

Semantic roles & 50–950 ramp

primary
#AFAE54
secondary
#9B9CC4
accent
#5DCC5C
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE54

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

Preview Lab → · Contrast checker → · Palette generator →

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