#F5DD56#F5DD56

#F5DD56 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.3% C 0.153 H 99.1°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#F5DD56
RGBrgb(245, 221, 86)
HSLhsl(51, 89%, 65%)
HSVhsv(51, 65%, 96%)
CMYKcmyk(0%, 9.8%, 64.9%, 3.9%)
CIE-LABlab(87.87, -6.77, 66.88)
CIE-LCHlch(87.87, 67.23, 95.78°)
OKLaboklab(89.32% -0.0243 0.1513)
OKLCHoklch(89.32% 0.153 99.1)
XYZxyz(65.1952, 71.8002, 19.2270)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD56 #566EF5
analogous
#F58D56 #F5DD56 #BEF556
triadic
#F5DD56 #56F5DD #DD56F5
tetradic
#F5DD56 #56F58D #566EF5 #F556BE
square
#F5DD56 #56F58D #566EF5 #F556BE
split-complementary
#F5DD56 #56BEF5 #8D56F5
monochromatic
#C5A90C #F2D11C #F5DD56 #F8E990 #FCF4CA

Accessibility & contrast

On white

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

On black

15.36
#F5DD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD56
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD56#FFFFFF#000000##000000
##F5DD561.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F8E05D
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5dd56;
/* rgb */ color: rgb(245, 221, 86);
/* oklch */ color: oklch(89.3% 0.153 99.1);
Tailwind
colors: {
  custom: {
    50: '#fce78c',
    500: '#f5dd56',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd56;
$custom-light: #fce78c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd56",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 86
  },
  "hsl": {
    "h": 50.943,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89316,
    "c": 0.15321,
    "h": 99.1
  },
  "luminance": 0.71797
}

Semantic roles & 50–950 ramp

primary
#F5DD56
secondary
#2D44C2
accent
#23E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5DD56

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

Preview Lab → · Contrast checker → · Palette generator →

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