#FFD548#FFD548

#FFD548 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.5% C 0.158 H 91.8°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#FFD548
RGBrgb(255, 213, 72)
HSLhsl(46, 100%, 64%)
HSVhsv(46, 72%, 100%)
CMYKcmyk(0%, 16.5%, 71.8%, 0%)
CIE-LABlab(86.66, 0.72, 71.41)
CIE-LCHlch(86.66, 71.42, 89.42°)
OKLaboklab(88.54% -0.005 0.1582)
OKLCHoklch(88.54% 0.158 91.8)
XYZxyz(66.2076, 69.3203, 16.0226)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD548 #4872FF
analogous
#FF7A48 #FFD548 #CDFF48
triadic
#FFD548 #48FFD5 #D548FF
tetradic
#FFD548 #48FF7A #4872FF #FF48CD
square
#FFD548 #48FF7A #4872FF #FF48CD
split-complementary
#FFD548 #48CDFF #7A48FF
monochromatic
#CD9E00 #FFC70B #FFD548 #FFE385 #FFF1C2

Accessibility & contrast

On white

1.41
#FFD548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#FFD548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD548
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD548#FFFFFF#000000##000000
##FFD5481.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD232
Deuteranopia (green-blind)
#F6DE50
Tritanopia (blue-blind)
#FFC4B9
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ffd548;
/* rgb */ color: rgb(255, 213, 72);
/* oklch */ color: oklch(88.5% 0.158 91.8);
Tailwind
colors: {
  custom: {
    50: '#ffe183',
    500: '#ffd548',
    950: '#000000',
  },
}
SCSS
$custom: #ffd548;
$custom-light: #ffe183;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd548",
  "rgb": {
    "r": 255,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 46.23,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88538,
    "c": 0.15826,
    "h": 91.8
  },
  "luminance": 0.69316
}

Semantic roles & 50–950 ramp

primary
#FFD548
secondary
#2349C8
accent
#35E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #FFD548

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

Preview Lab → · Contrast checker → · Palette generator →

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