#F5D863#F5D863

#F5D863 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.139 H 95.5°. Best body text is #000000 at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#F5D863
RGBrgb(245, 216, 99)
HSLhsl(48, 88%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 11.8%, 59.6%, 3.9%)
CIE-LABlab(86.72, -3.43, 60.08)
CIE-LCHlch(86.72, 60.18, 93.27°)
OKLaboklab(88.44% -0.0133 0.1386)
OKLCHoklch(88.44% 0.139 95.5)
XYZxyz(64.4669, 69.4281, 21.8072)
Luminance0.6943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D863 #6380F5
analogous
#F58F63 #F5D863 #C9F563
triadic
#F5D863 #63F5D8 #D863F5
tetradic
#F5D863 #63F58F #6380F5 #F563C9
square
#F5D863 #63F58F #6380F5 #F563C9
split-complementary
#F5D863 #63C9F5 #8F63F5
monochromatic
#D0AA0D #F1CA29 #F5D863 #F9E69D #FCF5D6

Accessibility & contrast

On white

1.41
#F5D863 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.89
#F5D863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D863
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D863#FFFFFF#000000##000000
##F5D8631.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD457
Deuteranopia (green-blind)
#F3DD68
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d863;
/* rgb */ color: rgb(245, 216, 99);
/* oklch */ color: oklch(88.4% 0.139 95.5);
Tailwind
colors: {
  custom: {
    50: '#fce393',
    500: '#f5d863',
    950: '#000000',
  },
}
SCSS
$custom: #f5d863;
$custom-light: #fce393;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d863",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 99
  },
  "hsl": {
    "h": 48.082,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88436,
    "c": 0.13924,
    "h": 95.5
  },
  "luminance": 0.69425
}

Semantic roles & 50–950 ramp

primary
#F5D863
secondary
#304FCC
accent
#2EE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D863

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

Preview Lab → · Contrast checker → · Palette generator →

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