#F5D661#F5D661

#F5D661 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.139 H 94.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#F5D661
RGBrgb(245, 214, 97)
HSLhsl(47, 88%, 67%)
HSVhsv(47, 60%, 96%)
CMYKcmyk(0%, 12.7%, 60.4%, 3.9%)
CIE-LABlab(86.19, -2.55, 60.38)
CIE-LCHlch(86.19, 60.44, 92.42°)
OKLaboklab(88.02% -0.011 0.139)
OKLCHoklch(88.02% 0.139 94.5)
XYZxyz(63.8632, 68.3718, 21.1401)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D661 #6180F5
analogous
#F58C61 #F5D661 #CAF561
triadic
#F5D661 #61F5D6 #D661F5
tetradic
#F5D661 #61F58C #6180F5 #F561CA
square
#F5D661 #61F58C #6180F5 #F561CA
split-complementary
#F5D661 #61CAF5 #8C61F5
monochromatic
#CFA60D #F1C727 #F5D661 #F9E59B #FCF4D4

Accessibility & contrast

On white

1.43
#F5D661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#F5D661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D661
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D661#FFFFFF#000000##000000
##F5D6611.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD255
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#FFC7BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d661;
/* rgb */ color: rgb(245, 214, 97);
/* oklch */ color: oklch(88.0% 0.139 94.5);
Tailwind
colors: {
  custom: {
    50: '#fce292',
    500: '#f5d661',
    950: '#000000',
  },
}
SCSS
$custom: #f5d661;
$custom-light: #fce292;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d661",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 97
  },
  "hsl": {
    "h": 47.432,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88016,
    "c": 0.13944,
    "h": 94.5
  },
  "luminance": 0.68369
}

Semantic roles & 50–950 ramp

primary
#F5D661
secondary
#3050CA
accent
#31E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D661

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

Preview Lab → · Contrast checker → · Palette generator →

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