#FFF302#FFF302

#FFF302 is a very light, highly saturated yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.201 H 106.0°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#FFF302
RGBrgb(255, 243, 2)
HSLhsl(57, 100%, 50%)
HSVhsv(57, 99%, 100%)
CMYKcmyk(0%, 4.7%, 99.2%, 0%)
CIE-LABlab(94.04, -15.79, 92.08)
CIE-LCHlch(94.04, 93.42, 99.73°)
OKLaboklab(94.33% -0.0554 0.1931)
OKLCHoklch(94.33% 0.201 106)
XYZxyz(73.3050, 85.3686, 12.6739)
Luminance0.8537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF302 #020EFF
analogous
#FF7402 #FFF302 #8DFF02
triadic
#FFF302 #02FFF3 #F302FF
tetradic
#FFF302 #02FF74 #020EFF #FF028D
square
#FFF302 #02FF74 #020EFF #FF028D
split-complementary
#FFF302 #028DFF #7402FF
monochromatic
#878000 #C4BB00 #FFF302 #FFF63F #FFF97C

Accessibility & contrast

On white

1.16
#FFF302 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.07
#FFF302 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF302
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF302#FFFFFF#000000##000000
##FFF3021.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA00
Deuteranopia (green-blind)
#FFF12E
Tritanopia (blue-blind)
#FFE1CF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff302;
/* rgb */ color: rgb(255, 243, 2);
/* oklch */ color: oklch(94.3% 0.201 106.0);
Tailwind
colors: {
  custom: {
    50: '#fff671',
    500: '#fff302',
    950: '#000000',
  },
}
SCSS
$custom: #fff302;
$custom-light: #fff671;
$custom-dark: #000000;
JSON
{
  "hex": "#fff302",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 2
  },
  "hsl": {
    "h": 57.154,
    "s": 100,
    "l": 50.392
  },
  "oklch": {
    "l": 0.94325,
    "c": 0.20095,
    "h": 106
  },
  "luminance": 0.85366
}

Semantic roles & 50–950 ramp

primary
#FFF302
secondary
#191E8C
accent
#33FF29
background
#FFFFFB
surface
#FFFEF1
border
#D7D6CB
text
#191709
muted
#87857D

Preview Lab

Preview with #FFF302

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

Preview Lab → · Contrast checker → · Palette generator →

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