#F5DA5B#F5DA5B

#F5DA5B is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.8% C 0.147 H 97.3°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F5DA5B
RGBrgb(245, 218, 91)
HSLhsl(49, 89%, 66%)
HSVhsv(49, 63%, 96%)
CMYKcmyk(0%, 11%, 62.9%, 3.9%)
CIE-LABlab(87.15, -4.96, 64.04)
CIE-LCHlch(87.15, 64.23, 94.43°)
OKLaboklab(88.76% -0.0186 0.146)
OKLCHoklch(88.76% 0.147 97.3)
XYZxyz(64.6187, 70.3137, 20.0637)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DA5B #5B76F5
analogous
#F58D5B #F5DA5B #C3F55B
triadic
#F5DA5B #5BF5DA #DA5BF5
tetradic
#F5DA5B #5BF58D #5B76F5 #F55BC3
square
#F5DA5B #5BF58D #5B76F5 #F55BC3
split-complementary
#F5DA5B #5BC3F5 #8D5BF5
monochromatic
#C9A80C #F1CD21 #F5DA5B #F9E795 #FCF4CE

Accessibility & contrast

On white

1.39
#F5DA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#F5DA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DA5B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DA5B#FFFFFF#000000##000000
##F5DA5B1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54C
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f5da5b;
/* rgb */ color: rgb(245, 218, 91);
/* oklch */ color: oklch(88.8% 0.147 97.3);
Tailwind
colors: {
  custom: {
    50: '#fce58e',
    500: '#f5da5b',
    950: '#000000',
  },
}
SCSS
$custom: #f5da5b;
$custom-light: #fce58e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5da5b",
  "rgb": {
    "r": 245,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 49.481,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88757,
    "c": 0.14715,
    "h": 97.3
  },
  "luminance": 0.70311
}

Semantic roles & 50–950 ramp

primary
#F5DA5B
secondary
#2E49C6
accent
#28E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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