#F5E268#F5E268

#F5E268 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.143 H 100.5°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F5E268
RGBrgb(245, 226, 104)
HSLhsl(52, 88%, 68%)
HSVhsv(52, 58%, 96%)
CMYKcmyk(0%, 7.8%, 57.6%, 3.9%)
CIE-LABlab(89.30, -8.12, 60.77)
CIE-LCHlch(89.30, 61.31, 97.61°)
OKLaboklab(90.5% -0.0262 0.1407)
OKLCHoklch(90.5% 0.143 100.5)
XYZxyz(67.3537, 74.8073, 23.9854)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E268 #687BF5
analogous
#F59B68 #F5E268 #C1F568
triadic
#F5E268 #68F5E2 #E268F5
tetradic
#F5E268 #68F59B #687BF5 #F568C1
square
#F5E268 #68F59B #687BF5 #F568C1
split-complementary
#F5E268 #68C1F5 #9B68F5
monochromatic
#D5BA0E #F1D72F #F5E268 #F9EDA1 #FDF8DB

Accessibility & contrast

On white

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

On black

15.96
#F5E268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E268
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E268#FFFFFF#000000##000000
##F5E2681.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC5B
Deuteranopia (green-blind)
#FAE46E
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f5e268;
/* rgb */ color: rgb(245, 226, 104);
/* oklch */ color: oklch(90.5% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#fbea97',
    500: '#f5e268',
    950: '#000000',
  },
}
SCSS
$custom: #f5e268;
$custom-light: #fbea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e268",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 104
  },
  "hsl": {
    "h": 51.915,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.905,
    "c": 0.14311,
    "h": 100.5
  },
  "luminance": 0.74805
}

Semantic roles & 50–950 ramp

primary
#F5E268
secondary
#3348CE
accent
#20E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E268

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

Preview Lab → · Contrast checker → · Palette generator →

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