#F5DA5C#F5DA5C

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

Color values

HEX#F5DA5C
RGBrgb(245, 218, 92)
HSLhsl(49, 88%, 66%)
HSVhsv(49, 62%, 96%)
CMYKcmyk(0%, 11%, 62.4%, 3.9%)
CIE-LABlab(87.16, -4.90, 63.62)
CIE-LCHlch(87.16, 63.81, 94.40°)
OKLaboklab(88.77% -0.0183 0.1452)
OKLCHoklch(88.77% 0.146 97.2)
XYZxyz(64.6622, 70.3310, 20.2924)
Luminance0.7033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DA5C #5C77F5
analogous
#F58D5C #F5DA5C #C3F55C
triadic
#F5DA5C #5CF5DA #DA5CF5
tetradic
#F5DA5C #5CF58D #5C77F5 #F55CC3
square
#F5DA5C #5CF58D #5C77F5 #F55CC3
split-complementary
#F5DA5C #5CC3F5 #8D5CF5
monochromatic
#CAA90C #F1CD22 #F5DA5C #F9E796 #FCF4CF

Accessibility & contrast

On white

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

On black

15.07
#F5DA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DA5C
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DA5C#FFFFFF#000000##000000
##F5DA5C1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5da5c;
/* rgb */ color: rgb(245, 218, 92);
/* oklch */ color: oklch(88.8% 0.146 97.2);
Tailwind
colors: {
  custom: {
    50: '#fce58f',
    500: '#f5da5c',
    950: '#000000',
  },
}
SCSS
$custom: #f5da5c;
$custom-light: #fce58f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5da5c",
  "rgb": {
    "r": 245,
    "g": 218,
    "b": 92
  },
  "hsl": {
    "h": 49.412,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.88766,
    "c": 0.14638,
    "h": 97.2
  },
  "luminance": 0.70328
}

Semantic roles & 50–950 ramp

primary
#F5DA5C
secondary
#2F49C6
accent
#29E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5DA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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