#AFAD43#AFAD43

#AFAD43 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.127 H 108.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AFAD43
RGBrgb(175, 173, 67)
HSLhsl(59, 45%, 47%)
HSVhsv(59, 62%, 69%)
CMYKcmyk(0%, 1.1%, 61.7%, 31.4%)
CIE-LABlab(69.05, -12.91, 53.08)
CIE-LCHlch(69.05, 54.62, 103.67°)
OKLaboklab(72.87% -0.0397 0.1211)
OKLCHoklch(72.87% 0.127 108.2)
XYZxyz(33.6370, 39.4073, 11.1436)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAD43 #4345AF
analogous
#AF7743 #AFAD43 #7BAF43
triadic
#AFAD43 #43AFAD #AD43AF
tetradic
#AFAD43 #43AF77 #4345AF #AF437B
square
#AFAD43 #43AF77 #4345AF #AF437B
split-complementary
#AFAD43 #437BAF #7743AF
monochromatic
#565521 #838132 #AFAD43 #C6C469 #D7D596

Accessibility & contrast

On white

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

On black

8.88
#AFAD43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAD43
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAD43#FFFFFF#000000##000000
##AFAD431.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA636
Deuteranopia (green-blind)
#BCAA49
Tritanopia (blue-blind)
#BBA297
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #afad43;
/* rgb */ color: rgb(175, 173, 67);
/* oklch */ color: oklch(72.9% 0.127 108.2);
Tailwind
colors: {
  custom: {
    50: '#cac57c',
    500: '#afad43',
    950: '#000000',
  },
}
SCSS
$custom: #afad43;
$custom-light: #cac57c;
$custom-dark: #000000;
JSON
{
  "hex": "#afad43",
  "rgb": {
    "r": 175,
    "g": 173,
    "b": 67
  },
  "hsl": {
    "h": 58.889,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7287,
    "c": 0.12746,
    "h": 108.2
  },
  "luminance": 0.39406
}

Semantic roles & 50–950 ramp

primary
#AFAD43
secondary
#8B8CC2
accent
#56D453
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #AFAD43

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

Preview Lab → · Contrast checker → · Palette generator →

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