#AFAE5E#AFAE5E

#AFAE5E is a light, moderate yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.103 H 108.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#AFAE5E
RGBrgb(175, 174, 94)
HSLhsl(59, 34%, 53%)
HSVhsv(59, 46%, 69%)
CMYKcmyk(0%, 0.6%, 46.3%, 31.4%)
CIE-LABlab(69.61, -11.18, 40.95)
CIE-LCHlch(69.61, 42.45, 105.27°)
OKLaboklab(73.41% -0.0319 0.0979)
OKLCHoklch(73.41% 0.103 108.1)
XYZxyz(34.8363, 40.1950, 16.5108)
Luminance0.4019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE5E #5E5FAF
analogous
#AF855E #AFAE5E #88AF5E
triadic
#AFAE5E #5EAFAE #AE5EAF
tetradic
#AFAE5E #5EAF85 #5E5FAF #AF5E88
square
#AFAE5E #5EAF85 #5E5FAF #AF5E88
split-complementary
#AFAE5E #5E88AF #855EAF
monochromatic
#626131 #8B8A45 #AFAE5E #C3C387 #D8D7B0

Accessibility & contrast

On white

2.32
#AFAE5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#AFAE5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAE5E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAE5E#FFFFFF#000000##000000
##AFAE5E1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afae5e;
/* rgb */ color: rgb(175, 174, 94);
/* oklch */ color: oklch(73.4% 0.103 108.1);
Tailwind
colors: {
  custom: {
    50: '#c8c68d',
    500: '#afae5e',
    950: '#000000',
  },
}
SCSS
$custom: #afae5e;
$custom-light: #c8c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#afae5e",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 94
  },
  "hsl": {
    "h": 59.259,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.73411,
    "c": 0.10294,
    "h": 108.1
  },
  "luminance": 0.40194
}

Semantic roles & 50–950 ramp

primary
#AFAE5E
secondary
#A3A3C6
accent
#5FCA5E
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFAE5E

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

Preview Lab → · Contrast checker → · Palette generator →

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