#F5D054#F5D054

#F5D054 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.145 H 92.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#F5D054
RGBrgb(245, 208, 84)
HSLhsl(46, 89%, 65%)
HSVhsv(46, 66%, 96%)
CMYKcmyk(0%, 15.1%, 65.7%, 3.9%)
CIE-LABlab(84.57, -0.29, 64.23)
CIE-LCHlch(84.57, 64.23, 90.26°)
OKLaboklab(86.7% -0.006 0.1453)
OKLCHoklch(86.7% 0.145 92.4)
XYZxyz(61.8154, 65.1677, 17.7085)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D054 #5479F5
analogous
#F58054 #F5D054 #CAF554
triadic
#F5D054 #54F5D0 #D054F5
tetradic
#F5D054 #54F580 #5479F5 #F554CA
square
#F5D054 #54F580 #5479F5 #F554CA
split-complementary
#F5D054 #54CAF5 #8054F5
monochromatic
#C3990B #F2C01A #F5D054 #F8E08E #FCF0C8

Accessibility & contrast

On white

1.50
#F5D054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#F5D054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D054
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D054#FFFFFF#000000##000000
##F5D0541.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD45
Deuteranopia (green-blind)
#EED85A
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f5d054;
/* rgb */ color: rgb(245, 208, 84);
/* oklch */ color: oklch(86.7% 0.145 92.4);
Tailwind
colors: {
  custom: {
    50: '#fcde8a',
    500: '#f5d054',
    950: '#000000',
  },
}
SCSS
$custom: #f5d054;
$custom-light: #fcde8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d054",
  "rgb": {
    "r": 245,
    "g": 208,
    "b": 84
  },
  "hsl": {
    "h": 46.211,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86698,
    "c": 0.14546,
    "h": 92.4
  },
  "luminance": 0.65164
}

Semantic roles & 50–950 ramp

primary
#F5D054
secondary
#2D4FC0
accent
#35E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D054

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

Preview Lab → · Contrast checker → · Palette generator →

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