#F5E06C#F5E06C

#F5E06C is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.1% C 0.138 H 99.2°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F5E06C
RGBrgb(245, 224, 108)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 56%, 96%)
CMYKcmyk(0%, 8.6%, 55.9%, 3.9%)
CIE-LABlab(88.83, -6.83, 58.44)
CIE-LCHlch(88.83, 58.84, 96.66°)
OKLaboklab(90.14% -0.022 0.1362)
OKLCHoklch(90.14% 0.138 99.2)
XYZxyz(67.0210, 73.8092, 24.9007)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E06C #6C81F5
analogous
#F59C6C #F5E06C #C6F56C
triadic
#F5E06C #6CF5E0 #E06CF5
tetradic
#F5E06C #6CF59C #6C81F5 #F56CC6
square
#F5E06C #6CF59C #6C81F5 #F56CC6
split-complementary
#F5E06C #6CC6F5 #9C6CF5
monochromatic
#D8B90F #F1D433 #F5E06C #F9ECA5 #FDF8DF

Accessibility & contrast

On white

1.33
#F5E06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#F5E06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E06C
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E06C#FFFFFF#000000##000000
##F5E06C1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB61
Deuteranopia (green-blind)
#F8E271
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5e06c;
/* rgb */ color: rgb(245, 224, 108);
/* oklch */ color: oklch(90.1% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#fbe999',
    500: '#f5e06c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e06c;
$custom-light: #fbe999;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e06c",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 108
  },
  "hsl": {
    "h": 50.803,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9014,
    "c": 0.13792,
    "h": 99.2
  },
  "luminance": 0.73806
}

Semantic roles & 50–950 ramp

primary
#F5E06C
secondary
#374ECF
accent
#24E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E06C

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

Preview Lab → · Contrast checker → · Palette generator →

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