#AFAE56#AFAE56

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

Color values

HEX#AFAE56
RGBrgb(175, 174, 86)
HSLhsl(59, 36%, 51%)
HSVhsv(59, 51%, 69%)
CMYKcmyk(0%, 0.6%, 50.9%, 31.4%)
CIE-LABlab(69.51, -11.93, 44.79)
CIE-LCHlch(69.51, 46.35, 104.91°)
OKLaboklab(73.3% -0.0349 0.1056)
OKLCHoklch(73.3% 0.111 108.3)
XYZxyz(34.4958, 40.0588, 14.7173)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE56 #5657AF
analogous
#AF8156 #AFAE56 #83AF56
triadic
#AFAE56 #56AFAE #AE56AF
tetradic
#AFAE56 #56AF81 #5657AF #AF5683
square
#AFAE56 #56AF81 #5657AF #AF5683
split-complementary
#AFAE56 #5683AF #8156AF
monochromatic
#5E5E2D #888740 #AFAE56 #C3C280 #D6D6A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE56#FFFFFF#000000##000000
##AFAE561.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)
#BAA84E
Deuteranopia (green-blind)
#BCAB5A
Tritanopia (blue-blind)
#BAA59A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae56;
/* rgb */ color: rgb(175, 174, 86);
/* oklch */ color: oklch(73.3% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#c9c688',
    500: '#afae56',
    950: '#000000',
  },
}
SCSS
$custom: #afae56;
$custom-light: #c9c688;
$custom-dark: #000000;
JSON
{
  "hex": "#afae56",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 86
  },
  "hsl": {
    "h": 59.326,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.73302,
    "c": 0.11122,
    "h": 108.3
  },
  "luminance": 0.40058
}

Semantic roles & 50–950 ramp

primary
#AFAE56
secondary
#9D9DC4
accent
#5DCC5C
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAE56

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

Preview Lab → · Contrast checker → · Palette generator →

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