Yellow

#F5F524

Yellow

Color Codes

All color formats for development

HEX
#F5F524
RGB
rgb(245, 245, 36)
HSL
hsl(60, 91%, 55%)
OKLCH
oklch(0.94 0.199 109.7)
CMYK
cmyk(0%, 0%, 85%, 4%)

Accessibility

WCAG contrast compliance

On White Background

1.17:1

AA AAA

On Black Background

17.97:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FEFE
100
#FDFD
200
#FCFC
300
#FAFA
400
#F7F7
500
#F5F5
600
#D6D6
700
#AAAA
800
#7A7A
900
#4E4E
950
#3131

Shades

Darker variations

1#F1F10B
2#D6D60A
3#BCBC09
4#A1A108
5#868606
6#6B6B05
7#505004
8#363603
9#1B1B01

Tints

Lighter variations

1#F6F63A
2#F7F750
3#F8F866
4#F9F97B
5#FAFA91
6#FBFBA7
7#FCFCBD
8#FDFDD3
9#FEFEE9

Tones

Muted variations

1#EAEA2E
2#E0E039
3#D5D543
4#CBCB4E
5#C0C058
6#B6B662
7#ACAC6D
8#A1A177
9#979782

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FEFE
#FEFEF0
BackgroundsSubtle highlightsCard backgrounds
100
FDFD
#FDFDDD
Light backgroundsTable row hoverSkeleton loading
200
FCFC
#FCFCC0
Secondary backgroundsInput backgroundsDividers
300
FAFA
#FAFA8F
BordersInactive statesPlaceholder text
400
F7F7
#F7F755
Disabled statesSecondary iconsMuted text
500
F5F5
#F5F524
Primary brand colorCTAsActive elementsLinks
600
D6D6
#D6D60A
Hover statesFocus ringsPrimary buttons hover
700
AAAA
#AAAA08
Active/pressed statesDark mode accentsSecondary text
800
7A7A
#7A7A06
Text on light backgroundsHeadingsStrong borders
900
4E4E
#4E4E04
Primary textHigh emphasis contentDark headings
950
3131
#313102
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --yellow-50: #FEFEF0;
  --yellow-100: #FDFDDD;
  --yellow-200: #FCFCC0;
  --yellow-300: #FAFA8F;
  --yellow-400: #F7F755;
  --yellow-500: #F5F524;
  --yellow-600: #D6D60A;
  --yellow-700: #AAAA08;
  --yellow-800: #7A7A06;
  --yellow-900: #4E4E04;
  --yellow-950: #313102;
}
Generate More ShadesCreate PaletteConvert Color