Olive

#AFAF04

Yellow

Color Codes

All color formats for development

HEX
#AFAF04
RGB
rgb(175, 175, 4)
HSL
hsl(60, 96%, 35%)
OKLCH
oklch(0.73 0.158 109.8)
CMYK
cmyk(0%, 0%, 98%, 31%)

Accessibility

WCAG contrast compliance

On White Background

2.34:1

AA AAA

On Black Background

8.96:1

AA AAA
Run full accessibility check

Tailwind Scale

50-950 scale matching Tailwind CSS naming

50
#FFFF
100
#FEFE
200
#FEFE
300
#FDFD
400
#FBFB
500
#FAFA
600
#DCDC
700
#AFAF
800
#7D7D
900
#5050
950
#3232

Shades

Darker variations

1#9D9D03
2#8C8C03
3#7A7A02
4#696902
5#575702
6#464601
7#343401
8#232301
9#111100

Tints

Lighter variations

1#CFCF04
2#F0F005
3#FAFA1C
4#FBFB3C
5#FCFC5D
6#FCFC7D
7#FDFD9E
8#FEFEBE
9#FEFEDF

Tones

Muted variations

1#A6A60C
2#9E9E15
3#95951D
4#8D8D26
5#84842E
6#7C7C37
7#737340
8#6A6A48
9#626251

Usage Guidelines

Recommended use cases for each shade level

LevelColorTypical Use Cases
50
FFFF
#FFFFF0
BackgroundsSubtle highlightsCard backgrounds
100
FEFE
#FEFEDC
Light backgroundsTable row hoverSkeleton loading
200
FEFE
#FEFEBE
Secondary backgroundsInput backgroundsDividers
300
FDFD
#FDFD8C
BordersInactive statesPlaceholder text
400
FBFB
#FBFB50
Disabled statesSecondary iconsMuted text
500
FAFA
#FAFA1E
Primary brand colorCTAsActive elementsLinks
600
DCDC
#DCDC04
Hover statesFocus ringsPrimary buttons hover
700
AFAF
#AFAF04
Active/pressed statesDark mode accentsSecondary text
800
7D7D
#7D7D03
Text on light backgroundsHeadingsStrong borders
900
5050
#505002
Primary textHigh emphasis contentDark headings
950
3232
#323201
Maximum contrast textDark mode backgrounds

Export Code

Copy ready-to-use code for your project

:root {
  --olive-50: #FFFFF0;
  --olive-100: #FEFEDC;
  --olive-200: #FEFEBE;
  --olive-300: #FDFD8C;
  --olive-400: #FBFB50;
  --olive-500: #FAFA1E;
  --olive-600: #DCDC04;
  --olive-700: #AFAF04;
  --olive-800: #7D7D03;
  --olive-900: #505002;
  --olive-950: #323201;
}
Generate More ShadesCreate PaletteConvert Color