#F5DE5C#F5DE5C

#F5DE5C is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.150 H 99.3°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F5DE5C
RGBrgb(245, 222, 92)
HSLhsl(51, 88%, 66%)
HSVhsv(51, 62%, 96%)
CMYKcmyk(0%, 9.4%, 62.4%, 3.9%)
CIE-LABlab(88.18, -6.91, 64.72)
CIE-LCHlch(88.18, 65.09, 96.10°)
OKLaboklab(89.57% -0.0241 0.1476)
OKLCHoklch(89.57% 0.15 99.3)
XYZxyz(65.7120, 72.4306, 20.6423)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE5C #5C73F5
analogous
#F5915C #F5DE5C #C0F55C
triadic
#F5DE5C #5CF5DE #DE5CF5
tetradic
#F5DE5C #5CF591 #5C73F5 #F55CC0
square
#F5DE5C #5CF591 #5C73F5 #F55CC0
split-complementary
#F5DE5C #5CC0F5 #915CF5
monochromatic
#CAAE0C #F1D222 #F5DE5C #F9EA96 #FCF5CF

Accessibility & contrast

On white

1.36
#F5DE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#F5DE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE5C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE5C#FFFFFF#000000##000000
##F5DE5C1.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D84D
Deuteranopia (green-blind)
#F8E163
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de5c;
/* rgb */ color: rgb(245, 222, 92);
/* oklch */ color: oklch(89.6% 0.150 99.3);
Tailwind
colors: {
  custom: {
    50: '#fce88f',
    500: '#f5de5c',
    950: '#000000',
  },
}
SCSS
$custom: #f5de5c;
$custom-light: #fce88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de5c",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 92
  },
  "hsl": {
    "h": 50.98,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.89572,
    "c": 0.14951,
    "h": 99.3
  },
  "luminance": 0.72428
}

Semantic roles & 50–950 ramp

primary
#F5DE5C
secondary
#2F46C6
accent
#23E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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