#F5E168#F5E168

#F5E168 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.3% C 0.142 H 100.0°. Best body text is #000000 at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#F5E168
RGBrgb(245, 225, 104)
HSLhsl(51, 88%, 68%)
HSVhsv(51, 58%, 96%)
CMYKcmyk(0%, 8.2%, 57.6%, 3.9%)
CIE-LABlab(89.05, -7.62, 60.48)
CIE-LCHlch(89.05, 60.96, 97.18°)
OKLaboklab(90.3% -0.0247 0.1401)
OKLCHoklch(90.3% 0.142 100)
XYZxyz(67.0826, 74.2651, 23.8951)
Luminance0.7426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E168 #687CF5
analogous
#F59A68 #F5E168 #C3F568
triadic
#F5E168 #68F5E1 #E168F5
tetradic
#F5E168 #68F59A #687CF5 #F568C3
square
#F5E168 #68F59A #687CF5 #F568C3
split-complementary
#F5E168 #68C3F5 #9A68F5
monochromatic
#D5B80E #F1D62F #F5E168 #F9ECA1 #FDF8DB

Accessibility & contrast

On white

1.32
#F5E168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.85
#F5E168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E168
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E168#FFFFFF#000000##000000
##F5E1681.001.3215.8515.85
#FFFFFF1.321.0021.0021.00
#00000015.8521.001.001.00
##00000015.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB5C
Deuteranopia (green-blind)
#FAE36E
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e168;
/* rgb */ color: rgb(245, 225, 104);
/* oklch */ color: oklch(90.3% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#fbea97',
    500: '#f5e168',
    950: '#000000',
  },
}
SCSS
$custom: #f5e168;
$custom-light: #fbea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e168",
  "rgb": {
    "r": 245,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 51.489,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90298,
    "c": 0.14225,
    "h": 100
  },
  "luminance": 0.74262
}

Semantic roles & 50–950 ramp

primary
#F5E168
secondary
#3349CE
accent
#22E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E168

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

Preview Lab → · Contrast checker → · Palette generator →

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