#F5DB5B#F5DB5B

#F5DB5B is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 89.0% C 0.148 H 97.8°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F5DB5B
RGBrgb(245, 219, 91)
HSLhsl(50, 89%, 66%)
HSVhsv(50, 63%, 96%)
CMYKcmyk(0%, 10.6%, 62.9%, 3.9%)
CIE-LABlab(87.40, -5.47, 64.31)
CIE-LCHlch(87.40, 64.54, 94.86°)
OKLaboklab(88.96% -0.02 0.1466)
OKLCHoklch(88.96% 0.148 97.8)
XYZxyz(64.8788, 70.8339, 20.1504)
Luminance0.7083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB5B #5B75F5
analogous
#F58E5B #F5DB5B #C2F55B
triadic
#F5DB5B #5BF5DB #DB5BF5
tetradic
#F5DB5B #5BF58E #5B75F5 #F55BC2
square
#F5DB5B #5BF58E #5B75F5 #F55BC2
split-complementary
#F5DB5B #5BC2F5 #8E5BF5
monochromatic
#C9A90C #F1CE21 #F5DB5B #F9E895 #FCF4CE

Accessibility & contrast

On white

1.38
#F5DB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#F5DB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB5B
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB5B#FFFFFF#000000##000000
##F5DB5B1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64C
Deuteranopia (green-blind)
#F6DF62
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db5b;
/* rgb */ color: rgb(245, 219, 91);
/* oklch */ color: oklch(89.0% 0.148 97.8);
Tailwind
colors: {
  custom: {
    50: '#fce58f',
    500: '#f5db5b',
    950: '#000000',
  },
}
SCSS
$custom: #f5db5b;
$custom-light: #fce58f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db5b",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 91
  },
  "hsl": {
    "h": 49.87,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88958,
    "c": 0.14791,
    "h": 97.8
  },
  "luminance": 0.70831
}

Semantic roles & 50–950 ramp

primary
#F5DB5B
secondary
#2E48C6
accent
#27E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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