#F5E266#F5E266

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

Color values

HEX#F5E266
RGBrgb(245, 226, 102)
HSLhsl(52, 88%, 68%)
HSVhsv(52, 58%, 96%)
CMYKcmyk(0%, 7.8%, 58.4%, 3.9%)
CIE-LABlab(89.28, -8.26, 61.63)
CIE-LCHlch(89.28, 62.18, 97.63°)
OKLaboklab(90.48% -0.0268 0.1423)
OKLCHoklch(90.48% 0.145 100.7)
XYZxyz(67.2533, 74.7672, 23.4568)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E266 #6679F5
analogous
#F59A66 #F5E266 #C0F566
triadic
#F5E266 #66F5E2 #E266F5
tetradic
#F5E266 #66F59A #6679F5 #F566C0
square
#F5E266 #66F59A #6679F5 #F566C0
split-complementary
#F5E266 #66C0F5 #9A66F5
monochromatic
#D3B90E #F1D72D #F5E266 #F9ED9F #FDF8D9

Accessibility & contrast

On white

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

On black

15.95
#F5E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E266
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E266#FFFFFF#000000##000000
##F5E2661.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e266;
/* rgb */ color: rgb(245, 226, 102);
/* oklch */ color: oklch(90.5% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#fbea96',
    500: '#f5e266',
    950: '#000000',
  },
}
SCSS
$custom: #f5e266;
$custom-light: #fbea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e266",
  "rgb": {
    "r": 245,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 52.028,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90479,
    "c": 0.1448,
    "h": 100.7
  },
  "luminance": 0.74764
}

Semantic roles & 50–950 ramp

primary
#F5E266
secondary
#3146CE
accent
#1FE401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E266

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

Preview Lab → · Contrast checker → · Palette generator →

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