#F5DB5D#F5DB5D

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

Color values

HEX#F5DB5D
RGBrgb(245, 219, 93)
HSLhsl(50, 88%, 66%)
HSVhsv(50, 62%, 96%)
CMYKcmyk(0%, 10.6%, 62%, 3.9%)
CIE-LABlab(87.42, -5.34, 63.48)
CIE-LCHlch(87.42, 63.70, 94.81°)
OKLaboklab(88.98% -0.0195 0.1451)
OKLCHoklch(88.98% 0.146 97.6)
XYZxyz(64.9663, 70.8688, 20.6108)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB5D #5D77F5
analogous
#F58F5D #F5DB5D #C3F55D
triadic
#F5DB5D #5DF5DB #DB5DF5
tetradic
#F5DB5D #5DF58F #5D77F5 #F55DC3
square
#F5DB5D #5DF58F #5D77F5 #F55DC3
split-complementary
#F5DB5D #5DC3F5 #8F5DF5
monochromatic
#CBAA0D #F1CE23 #F5DB5D #F9E897 #FCF5D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DB5D#FFFFFF#000000##000000
##F5DB5D1.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)
#EFD64F
Deuteranopia (green-blind)
#F6DF63
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db5d;
/* rgb */ color: rgb(245, 219, 93);
/* oklch */ color: oklch(89.0% 0.146 97.6);
Tailwind
colors: {
  custom: {
    50: '#fce590',
    500: '#f5db5d',
    950: '#000000',
  },
}
SCSS
$custom: #f5db5d;
$custom-light: #fce590;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db5d",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 49.737,
    "s": 88.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.88977,
    "c": 0.14637,
    "h": 97.6
  },
  "luminance": 0.70866
}

Semantic roles & 50–950 ramp

primary
#F5DB5D
secondary
#2F49C7
accent
#28E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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