#FFF02E#FFF02E

#FFF02E is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.8% C 0.190 H 104.6°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#FFF02E
RGBrgb(255, 240, 46)
HSLhsl(56, 100%, 59%)
HSVhsv(56, 82%, 100%)
CMYKcmyk(0%, 5.9%, 82%, 0%)
CIE-LABlab(93.36, -13.68, 85.44)
CIE-LCHlch(93.36, 86.53, 99.10°)
OKLaboklab(93.81% -0.0479 0.1835)
OKLCHoklch(93.81% 0.19 104.6)
XYZxyz(72.8966, 83.7805, 14.9157)
Luminance0.8378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF02E #2E3DFF
analogous
#FF882E #FFF02E #A6FF2E
triadic
#FFF02E #2EFFF0 #F02EFF
tetradic
#FFF02E #2EFF88 #2E3DFF #FF2EA6
square
#FFF02E #2EFF88 #2E3DFF #FF2EA6
split-complementary
#FFF02E #2EA6FF #882EFF
monochromatic
#B3A600 #F0DF00 #FFF02E #FFF46B #FFF9A8

Accessibility & contrast

On white

1.18
#FFF02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.76
#FFF02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF02E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF02E#FFFFFF#000000##000000
##FFF02E1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE700
Deuteranopia (green-blind)
#FFF041
Tritanopia (blue-blind)
#FFDFCE
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fff02e;
/* rgb */ color: rgb(255, 240, 46);
/* oklch */ color: oklch(93.8% 0.190 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff47a',
    500: '#fff02e',
    950: '#000000',
  },
}
SCSS
$custom: #fff02e;
$custom-light: #fff47a;
$custom-dark: #000000;
JSON
{
  "hex": "#fff02e",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 46
  },
  "hsl": {
    "h": 55.694,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.93805,
    "c": 0.18962,
    "h": 104.6
  },
  "luminance": 0.83777
}

Semantic roles & 50–950 ramp

primary
#FFF02E
secondary
#1F2AB2
accent
#38FF29
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#19170B
muted
#87857E

Preview Lab

Preview with #FFF02E

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

Preview Lab → · Contrast checker → · Palette generator →

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