#FFD02E#FFD02E

#FFD02E is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.4% C 0.169 H 91.0°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#FFD02E
RGBrgb(255, 208, 46)
HSLhsl(47, 100%, 59%)
HSVhsv(47, 82%, 100%)
CMYKcmyk(0%, 18.4%, 82%, 0%)
CIE-LABlab(85.29, 2.33, 78.62)
CIE-LCHlch(85.29, 78.65, 88.30°)
OKLaboklab(87.41% -0.0029 0.1685)
OKLCHoklch(87.41% 0.169 91)
XYZxyz(64.2930, 66.5732, 12.0478)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD02E #2E5DFF
analogous
#FF682E #FFD02E #C6FF2E
triadic
#FFD02E #2EFFD0 #D02EFF
tetradic
#FFD02E #2EFF68 #2E5DFF #FF2EC6
square
#FFD02E #2EFF68 #2E5DFF #FF2EC6
split-complementary
#FFD02E #2EC6FF #682EFF
monochromatic
#B38A00 #F0BA00 #FFD02E #FFDE6B #FFECA8

Accessibility & contrast

On white

1.47
#FFD02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#FFD02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD02E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD02E#FFFFFF#000000##000000
##FFD02E1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#F4DB3A
Tritanopia (blue-blind)
#FFBEB3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ffd02e;
/* rgb */ color: rgb(255, 208, 46);
/* oklch */ color: oklch(87.4% 0.169 91.0);
Tailwind
colors: {
  custom: {
    50: '#ffdd76',
    500: '#ffd02e',
    950: '#000000',
  },
}
SCSS
$custom: #ffd02e;
$custom-light: #ffdd76;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd02e",
  "rgb": {
    "r": 255,
    "g": 208,
    "b": 46
  },
  "hsl": {
    "h": 46.507,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.87411,
    "c": 0.16856,
    "h": 91
  },
  "luminance": 0.66569
}

Semantic roles & 50–950 ramp

primary
#FFD02E
secondary
#1F40B2
accent
#59FF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFD02E

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

Preview Lab → · Contrast checker → · Palette generator →

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