#F5D956#F5D956

#F5D956 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.5% C 0.150 H 97.1°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#F5D956
RGBrgb(245, 217, 86)
HSLhsl(49, 89%, 65%)
HSVhsv(49, 65%, 96%)
CMYKcmyk(0%, 11.4%, 64.9%, 3.9%)
CIE-LABlab(86.86, -4.75, 65.81)
CIE-LCHlch(86.86, 65.98, 94.13°)
OKLaboklab(88.51% -0.0186 0.149)
OKLCHoklch(88.51% 0.15 97.1)
XYZxyz(64.1517, 69.7132, 18.8792)
Luminance0.6971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D956 #5672F5
analogous
#F58A56 #F5D956 #C2F556
triadic
#F5D956 #56F5D9 #D956F5
tetradic
#F5D956 #56F58A #5672F5 #F556C2
square
#F5D956 #56F58A #5672F5 #F556C2
split-complementary
#F5D956 #56C2F5 #8A56F5
monochromatic
#C5A40C #F2CC1C #F5D956 #F8E690 #FCF3CA

Accessibility & contrast

On white

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

On black

14.94
#F5D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D956
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D956#FFFFFF#000000##000000
##F5D9561.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#F5DE5D
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d956;
/* rgb */ color: rgb(245, 217, 86);
/* oklch */ color: oklch(88.5% 0.150 97.1);
Tailwind
colors: {
  custom: {
    50: '#fce48b',
    500: '#f5d956',
    950: '#000000',
  },
}
SCSS
$custom: #f5d956;
$custom-light: #fce48b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d956",
  "rgb": {
    "r": 245,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 49.434,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88511,
    "c": 0.15016,
    "h": 97.1
  },
  "luminance": 0.6971
}

Semantic roles & 50–950 ramp

primary
#F5D956
secondary
#2D47C2
accent
#28E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D956

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

Preview Lab → · Contrast checker → · Palette generator →

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