#F5D861#F5D861

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

Color values

HEX#F5D861
RGBrgb(245, 216, 97)
HSLhsl(48, 88%, 67%)
HSVhsv(48, 60%, 96%)
CMYKcmyk(0%, 11.8%, 60.4%, 3.9%)
CIE-LABlab(86.70, -3.57, 60.94)
CIE-LCHlch(86.70, 61.05, 93.35°)
OKLaboklab(88.42% -0.0139 0.1402)
OKLCHoklch(88.42% 0.141 95.7)
XYZxyz(64.3725, 69.3904, 21.3099)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D861 #617EF5
analogous
#F58E61 #F5D861 #C8F561
triadic
#F5D861 #61F5D8 #D861F5
tetradic
#F5D861 #61F58E #617EF5 #F561C8
square
#F5D861 #61F58E #617EF5 #F561C8
split-complementary
#F5D861 #61C8F5 #8E61F5
monochromatic
#CFA90D #F1CA27 #F5D861 #F9E69B #FCF4D4

Accessibility & contrast

On white

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

On black

14.88
#F5D861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D861
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D861#FFFFFF#000000##000000
##F5D8611.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5d861;
/* rgb */ color: rgb(245, 216, 97);
/* oklch */ color: oklch(88.4% 0.141 95.7);
Tailwind
colors: {
  custom: {
    50: '#fce392',
    500: '#f5d861',
    950: '#000000',
  },
}
SCSS
$custom: #f5d861;
$custom-light: #fce392;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d861",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 48.243,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88415,
    "c": 0.1409,
    "h": 95.7
  },
  "luminance": 0.69387
}

Semantic roles & 50–950 ramp

primary
#F5D861
secondary
#304ECA
accent
#2DE501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D861

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

Preview Lab → · Contrast checker → · Palette generator →

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