#F5E768#F5E768

#F5E768 is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.5% C 0.148 H 103.0°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F5E768
RGBrgb(245, 231, 104)
HSLhsl(54, 88%, 68%)
HSVhsv(54, 58%, 96%)
CMYKcmyk(0%, 5.7%, 57.6%, 3.9%)
CIE-LABlab(90.58, -10.61, 62.21)
CIE-LCHlch(90.58, 63.10, 99.68°)
OKLaboklab(91.52% -0.0333 0.1438)
OKLCHoklch(91.52% 0.148 103)
XYZxyz(68.7332, 77.5663, 24.4453)
Luminance0.7756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E768 #6876F5
analogous
#F5A068 #F5E768 #BCF568
triadic
#F5E768 #68F5E7 #E768F5
tetradic
#F5E768 #68F5A0 #6876F5 #F568BC
square
#F5E768 #68F5A0 #6876F5 #F568BC
split-complementary
#F5E768 #68BCF5 #A068F5
monochromatic
#D5C10E #F1DE2F #F5E768 #F9F0A1 #FDF9DB

Accessibility & contrast

On white

1.27
#F5E768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F5E768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E768
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E768#FFFFFF#000000##000000
##F5E7681.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE05B
Deuteranopia (green-blind)
#FEE76F
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e768;
/* rgb */ color: rgb(245, 231, 104);
/* oklch */ color: oklch(91.5% 0.148 103.0);
Tailwind
colors: {
  custom: {
    50: '#fbee97',
    500: '#f5e768',
    950: '#000000',
  },
}
SCSS
$custom: #f5e768;
$custom-light: #fbee97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e768",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 104
  },
  "hsl": {
    "h": 54.043,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91515,
    "c": 0.14758,
    "h": 103
  },
  "luminance": 0.77564
}

Semantic roles & 50–950 ramp

primary
#F5E768
secondary
#3342CE
accent
#18E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E768

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

Preview Lab → · Contrast checker → · Palette generator →

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