#F5E06D#F5E06D

#F5E06D is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.137 H 99.1°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#F5E06D
RGBrgb(245, 224, 109)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 56%, 96%)
CMYKcmyk(0%, 8.6%, 55.5%, 3.9%)
CIE-LABlab(88.84, -6.75, 58.00)
CIE-LCHlch(88.84, 58.39, 96.64°)
OKLaboklab(90.15% -0.0217 0.1353)
OKLCHoklch(90.15% 0.137 99.1)
XYZxyz(67.0746, 73.8306, 25.1826)
Luminance0.7383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E06D #6D82F5
analogous
#F59C6D #F5E06D #C6F56D
triadic
#F5E06D #6DF5E0 #E06DF5
tetradic
#F5E06D #6DF59C #6D82F5 #F56DC6
square
#F5E06D #6DF59C #6D82F5 #F56DC6
split-complementary
#F5E06D #6DC6F5 #9C6DF5
monochromatic
#D9BA0F #F1D434 #F5E06D #F9ECA6 #FDF8E0

Accessibility & contrast

On white

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

On black

15.77
#F5E06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E06D
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E06D#FFFFFF#000000##000000
##F5E06D1.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e06d;
/* rgb */ color: rgb(245, 224, 109);
/* oklch */ color: oklch(90.2% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#fbe99a',
    500: '#f5e06d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e06d;
$custom-light: #fbe99a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e06d",
  "rgb": {
    "r": 245,
    "g": 224,
    "b": 109
  },
  "hsl": {
    "h": 50.735,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90151,
    "c": 0.13703,
    "h": 99.1
  },
  "luminance": 0.73828
}

Semantic roles & 50–950 ramp

primary
#F5E06D
secondary
#374FCF
accent
#25E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E06D

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

Preview Lab → · Contrast checker → · Palette generator →

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