#F5D261#F5D261

#F5D261 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.2% C 0.137 H 92.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F5D261
RGBrgb(245, 210, 97)
HSLhsl(46, 88%, 67%)
HSVhsv(46, 60%, 96%)
CMYKcmyk(0%, 14.3%, 60.4%, 3.9%)
CIE-LABlab(85.19, -0.51, 59.26)
CIE-LCHlch(85.19, 59.26, 90.49°)
OKLaboklab(87.22% -0.0051 0.1366)
OKLCHoklch(87.22% 0.137 92.1)
XYZxyz(62.8633, 66.3720, 20.8068)
Luminance0.6637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D261 #6184F5
analogous
#F58861 #F5D261 #CEF561
triadic
#F5D261 #61F5D2 #D261F5
tetradic
#F5D261 #61F588 #6184F5 #F561CE
square
#F5D261 #61F588 #6184F5 #F561CE
split-complementary
#F5D261 #61CEF5 #8861F5
monochromatic
#CFA10D #F1C227 #F5D261 #F9E29B #FCF3D4

Accessibility & contrast

On white

1.47
#F5D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#F5D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D261
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D261#FFFFFF#000000##000000
##F5D2611.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF55
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f5d261;
/* rgb */ color: rgb(245, 210, 97);
/* oklch */ color: oklch(87.2% 0.137 92.1);
Tailwind
colors: {
  custom: {
    50: '#fcdf92',
    500: '#f5d261',
    950: '#000000',
  },
}
SCSS
$custom: #f5d261;
$custom-light: #fcdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d261",
  "rgb": {
    "r": 245,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 45.811,
    "s": 88.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87221,
    "c": 0.1367,
    "h": 92.1
  },
  "luminance": 0.66369
}

Semantic roles & 50–950 ramp

primary
#F5D261
secondary
#3054CA
accent
#37E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D261

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

Preview Lab → · Contrast checker → · Palette generator →

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