#FFDA28#FFDA28

#FFDA28 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.4% C 0.176 H 95.9°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#FFDA28
RGBrgb(255, 218, 40)
HSLhsl(50, 100%, 58%)
HSVhsv(50, 84%, 100%)
CMYKcmyk(0%, 14.5%, 84.3%, 0%)
CIE-LABlab(87.76, -2.91, 82.19)
CIE-LCHlch(87.76, 82.24, 92.03°)
OKLaboklab(89.35% -0.0181 0.1753)
OKLCHoklch(89.35% 0.176 95.9)
XYZxyz(66.6982, 71.5599, 12.3064)
Luminance0.7156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFDA28 #284DFF
analogous
#FF6E28 #FFDA28 #B9FF28
triadic
#FFDA28 #28FFDA #DA28FF
tetradic
#FFDA28 #28FF6E #284DFF #FF28B9
square
#FFDA28 #28FF6E #284DFF #FF28B9
split-complementary
#FFDA28 #28B9FF #6E28FF
monochromatic
#AD8F00 #EAC200 #FFDA28 #FFE565 #FFEFA2

Accessibility & contrast

On white

1.37
#FFDA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#FFDA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFDA28
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFDA28#FFFFFF#000000##000000
##FFDA281.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D500
Deuteranopia (green-blind)
#FBE137
Tritanopia (blue-blind)
#FFC8BB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ffda28;
/* rgb */ color: rgb(255, 218, 40);
/* oklch */ color: oklch(89.4% 0.176 95.9);
Tailwind
colors: {
  custom: {
    50: '#ffe575',
    500: '#ffda28',
    950: '#000000',
  },
}
SCSS
$custom: #ffda28;
$custom-light: #ffe575;
$custom-dark: #000000;
JSON
{
  "hex": "#ffda28",
  "rgb": {
    "r": 255,
    "g": 218,
    "b": 40
  },
  "hsl": {
    "h": 49.674,
    "s": 100,
    "l": 57.843
  },
  "oklch": {
    "l": 0.89354,
    "c": 0.17619,
    "h": 95.9
  },
  "luminance": 0.71556
}

Semantic roles & 50–950 ramp

primary
#FFDA28
secondary
#1E37AD
accent
#4EFF29
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#19150A
muted
#87847D

Preview Lab

Preview with #FFDA28

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

Preview Lab → · Contrast checker → · Palette generator →

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