#F5D254#F5D254

#F5D254 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.147 H 93.5°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#F5D254
RGBrgb(245, 210, 84)
HSLhsl(47, 89%, 65%)
HSVhsv(47, 66%, 96%)
CMYKcmyk(0%, 14.3%, 65.7%, 3.9%)
CIE-LABlab(85.07, -1.31, 64.76)
CIE-LCHlch(85.07, 64.77, 91.16°)
OKLaboklab(87.1% -0.0089 0.1465)
OKLCHoklch(87.1% 0.147 93.5)
XYZxyz(62.3061, 66.1491, 17.8720)
Luminance0.6615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D254 #5477F5
analogous
#F58254 #F5D254 #C7F554
triadic
#F5D254 #54F5D2 #D254F5
tetradic
#F5D254 #54F582 #5477F5 #F554C7
square
#F5D254 #54F582 #5477F5 #F554C7
split-complementary
#F5D254 #54C7F5 #8254F5
monochromatic
#C39B0B #F2C31A #F5D254 #F8E18E #FCF0C8

Accessibility & contrast

On white

1.48
#F5D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#F5D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D254
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D254#FFFFFF#000000##000000
##F5D2541.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE45
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d254;
/* rgb */ color: rgb(245, 210, 84);
/* oklch */ color: oklch(87.1% 0.147 93.5);
Tailwind
colors: {
  custom: {
    50: '#fcdf8a',
    500: '#f5d254',
    950: '#000000',
  },
}
SCSS
$custom: #f5d254;
$custom-light: #fcdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d254",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 46.957,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87095,
    "c": 0.14673,
    "h": 93.5
  },
  "luminance": 0.66146
}

Semantic roles & 50–950 ramp

primary
#F5D254
secondary
#2D4DC0
accent
#32E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D254

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

Preview Lab → · Contrast checker → · Palette generator →

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