#F5D66B#F5D66B

#F5D66B is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.131 H 93.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#F5D66B
RGBrgb(245, 214, 107)
HSLhsl(47, 87%, 69%)
HSVhsv(47, 56%, 96%)
CMYKcmyk(0%, 12.7%, 56.3%, 3.9%)
CIE-LABlab(86.29, -1.84, 55.97)
CIE-LCHlch(86.29, 56.00, 91.89°)
OKLaboklab(88.13% -0.0078 0.1307)
OKLCHoklch(88.13% 0.131 93.4)
XYZxyz(64.3592, 68.5702, 23.7524)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D66B #6B8AF5
analogous
#F5916B #F5D66B #CFF56B
triadic
#F5D66B #6BF5D6 #D66BF5
tetradic
#F5D66B #6BF591 #6B8AF5 #F56BCF
square
#F5D66B #6BF591 #6B8AF5 #F56BCF
split-complementary
#F5D66B #6BCFF5 #916BF5
monochromatic
#D7AA0F #F1C632 #F5D66B #F9E6A4 #FDF6DE

Accessibility & contrast

On white

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

On black

14.71
#F5D66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D66B
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D66B#FFFFFF#000000##000000
##F5D66B1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5d66b;
/* rgb */ color: rgb(245, 214, 107);
/* oklch */ color: oklch(88.1% 0.131 93.4);
Tailwind
colors: {
  custom: {
    50: '#fbe298',
    500: '#f5d66b',
    950: '#000000',
  },
}
SCSS
$custom: #f5d66b;
$custom-light: #fbe298;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d66b",
  "rgb": {
    "r": 245,
    "g": 214,
    "b": 107
  },
  "hsl": {
    "h": 46.522,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.88126,
    "c": 0.13094,
    "h": 93.4
  },
  "luminance": 0.68567
}

Semantic roles & 50–950 ramp

primary
#F5D66B
secondary
#3658CE
accent
#34E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D66B

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

Preview Lab → · Contrast checker → · Palette generator →

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