#F5E966#F5E966

#F5E966 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 91.9% C 0.151 H 104.1°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F5E966
RGBrgb(245, 233, 102)
HSLhsl(55, 88%, 68%)
HSVhsv(55, 58%, 96%)
CMYKcmyk(0%, 4.9%, 58.4%, 3.9%)
CIE-LABlab(91.08, -11.74, 63.63)
CIE-LCHlch(91.08, 64.70, 100.45°)
OKLaboklab(91.9% -0.0367 0.1466)
OKLCHoklch(91.9% 0.151 104.1)
XYZxyz(69.1957, 78.6520, 24.1042)
Luminance0.7865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E966 #6672F5
analogous
#F5A166 #F5E966 #B9F566
triadic
#F5E966 #66F5E9 #E966F5
tetradic
#F5E966 #66F5A1 #6672F5 #F566B9
square
#F5E966 #66F5A1 #6672F5 #F566B9
split-complementary
#F5E966 #66B9F5 #A166F5
monochromatic
#D3C20E #F1E12D #F5E966 #F9F19F #FDFAD9

Accessibility & contrast

On white

1.26
#F5E966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F5E966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E966
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E966#FFFFFF#000000##000000
##F5E9661.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FFE86D
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e966;
/* rgb */ color: rgb(245, 233, 102);
/* oklch */ color: oklch(91.9% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#fbef96',
    500: '#f5e966',
    950: '#000000',
  },
}
SCSS
$custom: #f5e966;
$custom-light: #fbef96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e966",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 102
  },
  "hsl": {
    "h": 54.965,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91903,
    "c": 0.1511,
    "h": 104.1
  },
  "luminance": 0.7865
}

Semantic roles & 50–950 ramp

primary
#F5E966
secondary
#313ECE
accent
#14E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E966

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

Preview Lab → · Contrast checker → · Palette generator →

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