#AFAD4E#AFAD4E

#AFAD4E is a light, moderate yellow. Relative luminance 0.396; OKLCH L 73.0% C 0.118 H 107.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#AFAD4E
RGBrgb(175, 173, 78)
HSLhsl(59, 38%, 50%)
HSVhsv(59, 55%, 69%)
CMYKcmyk(0%, 1.1%, 55.4%, 31.4%)
CIE-LABlab(69.15, -12.09, 48.20)
CIE-LCHlch(69.15, 49.70, 104.08°)
OKLaboklab(72.99% -0.0362 0.1121)
OKLCHoklch(72.99% 0.118 107.9)
XYZxyz(33.9989, 39.5521, 13.0496)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD4E #4E50AF
analogous
#AF7D4E #AFAD4E #81AF4E
triadic
#AFAD4E #4EAFAD #AD4EAF
tetradic
#AFAD4E #4EAF7D #4E50AF #AF4E81
square
#AFAD4E #4EAF7D #4E50AF #AF4E81
split-complementary
#AFAD4E #4E81AF #7D4EAF
monochromatic
#5A5928 #85833B #AFAD4E #C3C178 #D6D4A2

Accessibility & contrast

On white

2.36
#AFAD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#AFAD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD4E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD4E#FFFFFF#000000##000000
##AFAD4E1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#BBAB53
Tritanopia (blue-blind)
#BAA398
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afad4e;
/* rgb */ color: rgb(175, 173, 78);
/* oklch */ color: oklch(73.0% 0.118 107.9);
Tailwind
colors: {
  custom: {
    50: '#c9c583',
    500: '#afad4e',
    950: '#000000',
  },
}
SCSS
$custom: #afad4e;
$custom-light: #c9c583;
$custom-dark: #000000;
JSON
{
  "hex": "#afad4e",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 78
  },
  "hsl": {
    "h": 58.763,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.11784,
    "h": 107.9
  },
  "luminance": 0.39551
}

Semantic roles & 50–950 ramp

primary
#AFAD4E
secondary
#9697C3
accent
#5CCE5A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #AFAD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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