#AFAE5F#AFAE5F

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

Color values

HEX#AFAE5F
RGBrgb(175, 174, 95)
HSLhsl(59, 33%, 53%)
HSVhsv(59, 46%, 69%)
CMYKcmyk(0%, 0.6%, 45.7%, 31.4%)
CIE-LABlab(69.62, -11.08, 40.46)
CIE-LCHlch(69.62, 41.95, 105.31°)
OKLaboklab(73.43% -0.0315 0.0969)
OKLCHoklch(73.43% 0.102 108)
XYZxyz(34.8815, 40.2131, 16.7487)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAE5F #5F60AF
analogous
#AF865F #AFAE5F #88AF5F
triadic
#AFAE5F #5FAFAE #AE5FAF
tetradic
#AFAE5F #5FAF86 #5F60AF #AF5F88
square
#AFAE5F #5FAF86 #5F60AF #AF5F88
split-complementary
#AFAE5F #5F88AF #865FAF
monochromatic
#626231 #8B8A46 #AFAE5F #C3C388 #D8D7B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAE5F#FFFFFF#000000##000000
##AFAE5F1.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)
#B9A858
Deuteranopia (green-blind)
#BBAC63
Tritanopia (blue-blind)
#B9A59B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #afae5f;
/* rgb */ color: rgb(175, 174, 95);
/* oklch */ color: oklch(73.4% 0.102 108.0);
Tailwind
colors: {
  custom: {
    50: '#c8c68e',
    500: '#afae5f',
    950: '#000000',
  },
}
SCSS
$custom: #afae5f;
$custom-light: #c8c68e;
$custom-dark: #000000;
JSON
{
  "hex": "#afae5f",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 95
  },
  "hsl": {
    "h": 59.25,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.10187,
    "h": 108
  },
  "luminance": 0.40212
}

Semantic roles & 50–950 ramp

primary
#AFAE5F
secondary
#A4A4C6
accent
#60C95E
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFAE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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