#F5E968#F5E968

#F5E968 is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.9% C 0.149 H 104.0°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#F5E968
RGBrgb(245, 233, 104)
HSLhsl(55, 88%, 68%)
HSVhsv(55, 58%, 96%)
CMYKcmyk(0%, 4.9%, 57.6%, 3.9%)
CIE-LABlab(91.09, -11.60, 62.78)
CIE-LCHlch(91.09, 63.84, 100.47°)
OKLaboklab(91.92% -0.0361 0.145)
OKLCHoklch(91.92% 0.149 104)
XYZxyz(69.2961, 78.6922, 24.6329)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E968 #6874F5
analogous
#F5A268 #F5E968 #BAF568
triadic
#F5E968 #68F5E9 #E968F5
tetradic
#F5E968 #68F5A2 #6874F5 #F568BA
square
#F5E968 #68F5A2 #6874F5 #F568BA
split-complementary
#F5E968 #68BAF5 #A268F5
monochromatic
#D5C40E #F1E12F #F5E968 #F9F1A1 #FDFADB

Accessibility & contrast

On white

1.25
#F5E968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#F5E968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E968
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E968#FFFFFF#000000##000000
##F5E9681.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e968;
/* rgb */ color: rgb(245, 233, 104);
/* oklch */ color: oklch(91.9% 0.149 104.0);
Tailwind
colors: {
  custom: {
    50: '#fbef97',
    500: '#f5e968',
    950: '#000000',
  },
}
SCSS
$custom: #f5e968;
$custom-light: #fbef97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e968",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 104
  },
  "hsl": {
    "h": 54.894,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91923,
    "c": 0.14944,
    "h": 104
  },
  "luminance": 0.7869
}

Semantic roles & 50–950 ramp

primary
#F5E968
secondary
#3340CE
accent
#15E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E968

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

Preview Lab → · Contrast checker → · Palette generator →

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