#AFAE5A#AFAE5A

#AFAE5A is a light, moderate yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.107 H 108.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AFAE5A
RGBrgb(175, 174, 90)
HSLhsl(59, 35%, 52%)
HSVhsv(59, 49%, 69%)
CMYKcmyk(0%, 0.6%, 48.6%, 31.4%)
CIE-LABlab(69.56, -11.56, 42.88)
CIE-LCHlch(69.56, 44.42, 105.09°)
OKLaboklab(73.36% -0.0334 0.1018)
OKLCHoklch(73.36% 0.107 108.2)
XYZxyz(34.6615, 40.1251, 15.5899)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE5A #5A5BAF
analogous
#AF845A #AFAE5A #86AF5A
triadic
#AFAE5A #5AAFAE #AE5AAF
tetradic
#AFAE5A #5AAF84 #5A5BAF #AF5A86
square
#AFAE5A #5AAF84 #5A5BAF #AF5A86
split-complementary
#AFAE5A #5A86AF #845AAF
monochromatic
#605F2F #898843 #AFAE5A #C3C283 #D7D6AC

Accessibility & contrast

On white

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

On black

9.02
#AFAE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE5A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE5A#FFFFFF#000000##000000
##AFAE5A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA853
Deuteranopia (green-blind)
#BBAB5E
Tritanopia (blue-blind)
#B9A59B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae5a;
/* rgb */ color: rgb(175, 174, 90);
/* oklch */ color: oklch(73.4% 0.107 108.2);
Tailwind
colors: {
  custom: {
    50: '#c9c68b',
    500: '#afae5a',
    950: '#000000',
  },
}
SCSS
$custom: #afae5a;
$custom-light: #c9c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#afae5a",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 90
  },
  "hsl": {
    "h": 59.294,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73355,
    "c": 0.10715,
    "h": 108.2
  },
  "luminance": 0.40124
}

Semantic roles & 50–950 ramp

primary
#AFAE5A
secondary
#A0A0C5
accent
#5ECB5D
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFAE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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