#FFD248#FFD248

#FFD248 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 88.0% C 0.157 H 90.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#FFD248
RGBrgb(255, 210, 72)
HSLhsl(45, 100%, 64%)
HSVhsv(45, 72%, 100%)
CMYKcmyk(0%, 17.6%, 71.8%, 0%)
CIE-LABlab(85.92, 2.25, 70.68)
CIE-LCHlch(85.92, 70.72, 88.18°)
OKLaboklab(87.95% -0.0006 0.1566)
OKLCHoklch(87.95% 0.157 90.2)
XYZxyz(65.4600, 67.8251, 15.7734)
Luminance0.6782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFD248 #4875FF
analogous
#FF7748 #FFD248 #D1FF48
triadic
#FFD248 #48FFD2 #D248FF
tetradic
#FFD248 #48FF77 #4875FF #FF48D1
square
#FFD248 #48FF77 #4875FF #FF48D1
split-complementary
#FFD248 #48D1FF #7748FF
monochromatic
#CD9A00 #FFC30B #FFD248 #FFE185 #FFF0C2

Accessibility & contrast

On white

1.44
#FFD248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#FFD248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFD248
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFD248#FFFFFF#000000##000000
##FFD2481.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D033
Deuteranopia (green-blind)
#F4DC4F
Tritanopia (blue-blind)
#FFC1B6
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ffd248;
/* rgb */ color: rgb(255, 210, 72);
/* oklch */ color: oklch(88.0% 0.157 90.2);
Tailwind
colors: {
  custom: {
    50: '#ffdf83',
    500: '#ffd248',
    950: '#000000',
  },
}
SCSS
$custom: #ffd248;
$custom-light: #ffdf83;
$custom-dark: #000000;
JSON
{
  "hex": "#ffd248",
  "rgb": {
    "r": 255,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 45.246,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87952,
    "c": 0.15663,
    "h": 90.2
  },
  "luminance": 0.67821
}

Semantic roles & 50–950 ramp

primary
#FFD248
secondary
#234CC8
accent
#38E600
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#19150B
muted
#87847E

Preview Lab

Preview with #FFD248

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

Preview Lab → · Contrast checker → · Palette generator →

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