#AFAD3D#AFAD3D

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

Color values

HEX#AFAD3D
RGBrgb(175, 173, 61)
HSLhsl(59, 48%, 46%)
HSVhsv(59, 65%, 69%)
CMYKcmyk(0%, 1.1%, 65.1%, 31.4%)
CIE-LABlab(69.00, -13.29, 55.58)
CIE-LCHlch(69.00, 57.15, 103.45°)
OKLaboklab(72.82% -0.0415 0.1255)
OKLCHoklch(72.82% 0.132 108.3)
XYZxyz(33.4662, 39.3390, 10.2443)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD3D #3D3FAF
analogous
#AF743D #AFAD3D #78AF3D
triadic
#AFAD3D #3DAFAD #AD3DAF
tetradic
#AFAD3D #3DAF74 #3D3FAF #AF3D78
square
#AFAD3D #3DAF74 #3D3FAF #AF3D78
split-complementary
#AFAD3D #3D78AF #743DAF
monochromatic
#54531D #82802D #AFAD3D #C8C661 #D8D78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAD3D#FFFFFF#000000##000000
##AFAD3D1.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)
#BBA62E
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad3d;
/* rgb */ color: rgb(175, 173, 61);
/* oklch */ color: oklch(72.8% 0.132 108.3);
Tailwind
colors: {
  custom: {
    50: '#cac578',
    500: '#afad3d',
    950: '#000000',
  },
}
SCSS
$custom: #afad3d;
$custom-light: #cac578;
$custom-dark: #000000;
JSON
{
  "hex": "#afad3d",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 61
  },
  "hsl": {
    "h": 58.947,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.13217,
    "h": 108.3
  },
  "luminance": 0.39338
}

Semantic roles & 50–950 ramp

primary
#AFAD3D
secondary
#8586C3
accent
#52D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B

Preview Lab

Preview with #AFAD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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