#F5D354#F5D354

#F5D354 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.3% C 0.147 H 94.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#F5D354
RGBrgb(245, 211, 84)
HSLhsl(47, 89%, 65%)
HSVhsv(47, 66%, 96%)
CMYKcmyk(0%, 13.9%, 65.7%, 3.9%)
CIE-LABlab(85.32, -1.82, 65.02)
CIE-LCHlch(85.32, 65.05, 91.61°)
OKLaboklab(87.29% -0.0104 0.147)
OKLCHoklch(87.29% 0.147 94)
XYZxyz(62.5537, 66.6444, 17.9546)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D354 #5476F5
analogous
#F58354 #F5D354 #C7F554
triadic
#F5D354 #54F5D3 #D354F5
tetradic
#F5D354 #54F583 #5476F5 #F554C7
square
#F5D354 #54F583 #5476F5 #F554C7
split-complementary
#F5D354 #54C7F5 #8354F5
monochromatic
#C39C0B #F2C41A #F5D354 #F8E28E #FCF1C8

Accessibility & contrast

On white

1.47
#F5D354 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#F5D354 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D354
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D354#FFFFFF#000000##000000
##F5D3541.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#F1DA5A
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d354;
/* rgb */ color: rgb(245, 211, 84);
/* oklch */ color: oklch(87.3% 0.147 94.0);
Tailwind
colors: {
  custom: {
    50: '#fce08a',
    500: '#f5d354',
    950: '#000000',
  },
}
SCSS
$custom: #f5d354;
$custom-light: #fce08a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d354",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 84
  },
  "hsl": {
    "h": 47.329,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87294,
    "c": 0.1474,
    "h": 94
  },
  "luminance": 0.66641
}

Semantic roles & 50–950 ramp

primary
#F5D354
secondary
#2D4CC0
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D354

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

Preview Lab → · Contrast checker → · Palette generator →

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