#F5D154#F5D154

#F5D154 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.9% C 0.146 H 92.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#F5D154
RGBrgb(245, 209, 84)
HSLhsl(47, 89%, 65%)
HSVhsv(47, 66%, 96%)
CMYKcmyk(0%, 14.7%, 65.7%, 3.9%)
CIE-LABlab(84.82, -0.80, 64.49)
CIE-LCHlch(84.82, 64.50, 90.71°)
OKLaboklab(86.9% -0.0075 0.1459)
OKLCHoklch(86.9% 0.146 92.9)
XYZxyz(62.0600, 65.6569, 17.7900)
Luminance0.6565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D154 #5478F5
analogous
#F58154 #F5D154 #C8F554
triadic
#F5D154 #54F5D1 #D154F5
tetradic
#F5D154 #54F581 #5478F5 #F554C8
square
#F5D154 #54F581 #5478F5 #F554C8
split-complementary
#F5D154 #54C8F5 #8154F5
monochromatic
#C39A0B #F2C11A #F5D154 #F8E18E #FCF0C8

Accessibility & contrast

On white

1.49
#F5D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#F5D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D154
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D154#FFFFFF#000000##000000
##F5D1541.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#EFD85A
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f5d154;
/* rgb */ color: rgb(245, 209, 84);
/* oklch */ color: oklch(86.9% 0.146 92.9);
Tailwind
colors: {
  custom: {
    50: '#fcde8a',
    500: '#f5d154',
    950: '#000000',
  },
}
SCSS
$custom: #f5d154;
$custom-light: #fcde8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d154",
  "rgb": {
    "r": 245,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 46.584,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86896,
    "c": 0.14609,
    "h": 92.9
  },
  "luminance": 0.65653
}

Semantic roles & 50–950 ramp

primary
#F5D154
secondary
#2D4EC0
accent
#33E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D154

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

Preview Lab → · Contrast checker → · Palette generator →

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