#F5D66F#F5D66F

#F5D66F is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.2% C 0.127 H 92.9°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#F5D66F
RGBrgb(245, 214, 111)
HSLhsl(46, 87%, 70%)
HSVhsv(46, 55%, 96%)
CMYKcmyk(0%, 12.7%, 54.7%, 3.9%)
CIE-LABlab(86.33, -1.54, 54.15)
CIE-LCHlch(86.33, 54.18, 91.63°)
OKLaboklab(88.17% -0.0064 0.1272)
OKLCHoklch(88.17% 0.127 92.9)
XYZxyz(64.5745, 68.6564, 24.8865)
Luminance0.6865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D66F #6F8EF5
analogous
#F5936F #F5D66F #D1F56F
triadic
#F5D66F #6FF5D6 #D66FF5
tetradic
#F5D66F #6FF593 #6F8EF5 #F56FD1
square
#F5D66F #6FF593 #6F8EF5 #F56FD1
split-complementary
#F5D66F #6FD1F5 #936FF5
monochromatic
#DAAB0F #F1C636 #F5D66F #F9E6A8 #FDF7E1

Accessibility & contrast

On white

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

On black

14.73
#F5D66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D66F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D66F#FFFFFF#000000##000000
##F5D66F1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D365
Deuteranopia (green-blind)
#F1DC73
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d66f;
/* rgb */ color: rgb(245, 214, 111);
/* oklch */ color: oklch(88.2% 0.127 92.9);
Tailwind
colors: {
  custom: {
    50: '#fbe29b',
    500: '#f5d66f',
    950: '#000000',
  },
}
SCSS
$custom: #f5d66f;
$custom-light: #fbe29b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d66f",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 111
  },
  "hsl": {
    "h": 46.119,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88173,
    "c": 0.12735,
    "h": 92.9
  },
  "luminance": 0.68653
}

Semantic roles & 50–950 ramp

primary
#F5D66F
secondary
#395CCF
accent
#36E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D66F

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

Preview Lab → · Contrast checker → · Palette generator →

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