#AFAD3E#AFAD3E

#AFAD3E is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.131 H 108.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AFAD3E
RGBrgb(175, 173, 62)
HSLhsl(59, 48%, 46%)
HSVhsv(59, 65%, 69%)
CMYKcmyk(0%, 1.1%, 64.6%, 31.4%)
CIE-LABlab(69.00, -13.23, 55.17)
CIE-LCHlch(69.00, 56.74, 103.49°)
OKLaboklab(72.82% -0.0412 0.1248)
OKLCHoklch(72.82% 0.131 108.3)
XYZxyz(33.4934, 39.3499, 10.3875)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD3E #3E40AF
analogous
#AF753E #AFAD3E #79AF3E
triadic
#AFAD3E #3EAFAD #AD3EAF
tetradic
#AFAD3E #3EAF75 #3E40AF #AF3E79
square
#AFAD3E #3EAF75 #3E40AF #AF3E79
split-complementary
#AFAD3E #3E79AF #753EAF
monochromatic
#55541E #82802E #AFAD3E #C8C663 #D8D690

Accessibility & contrast

On white

2.37
#AFAD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#AFAD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD3E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD3E#FFFFFF#000000##000000
##AFAD3E1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62F
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad3e;
/* rgb */ color: rgb(175, 173, 62);
/* oklch */ color: oklch(72.8% 0.131 108.3);
Tailwind
colors: {
  custom: {
    50: '#cac579',
    500: '#afad3e',
    950: '#000000',
  },
}
SCSS
$custom: #afad3e;
$custom-light: #cac579;
$custom-dark: #000000;
JSON
{
  "hex": "#afad3e",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 62
  },
  "hsl": {
    "h": 58.938,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.13141,
    "h": 108.3
  },
  "luminance": 0.39349
}

Semantic roles & 50–950 ramp

primary
#AFAD3E
secondary
#8687C3
accent
#53D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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