#F5D768#F5D768

#F5D768 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.3% C 0.134 H 94.4°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#F5D768
RGBrgb(245, 215, 104)
HSLhsl(47, 88%, 68%)
HSVhsv(47, 58%, 96%)
CMYKcmyk(0%, 12.2%, 57.6%, 3.9%)
CIE-LABlab(86.51, -2.57, 57.60)
CIE-LCHlch(86.51, 57.66, 92.56°)
OKLaboklab(88.29% -0.0102 0.1339)
OKLCHoklch(88.29% 0.134 94.4)
XYZxyz(64.4580, 69.0159, 23.0202)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D768 #6886F5
analogous
#F59068 #F5D768 #CCF568
triadic
#F5D768 #68F5D7 #D768F5
tetradic
#F5D768 #68F590 #6886F5 #F568CC
square
#F5D768 #68F590 #6886F5 #F568CC
split-complementary
#F5D768 #68CCF5 #9068F5
monochromatic
#D5AA0E #F1C82F #F5D768 #F9E6A1 #FDF5DB

Accessibility & contrast

On white

1.42
#F5D768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#F5D768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D768
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D768#FFFFFF#000000##000000
##F5D7681.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35D
Deuteranopia (green-blind)
#F2DC6D
Tritanopia (blue-blind)
#FFC9BE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d768;
/* rgb */ color: rgb(245, 215, 104);
/* oklch */ color: oklch(88.3% 0.134 94.4);
Tailwind
colors: {
  custom: {
    50: '#fbe396',
    500: '#f5d768',
    950: '#000000',
  },
}
SCSS
$custom: #f5d768;
$custom-light: #fbe396;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d768",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 104
  },
  "hsl": {
    "h": 47.234,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8829,
    "c": 0.13428,
    "h": 94.4
  },
  "luminance": 0.69013
}

Semantic roles & 50–950 ramp

primary
#F5D768
secondary
#3354CE
accent
#32E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D768

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

Preview Lab → · Contrast checker → · Palette generator →

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