#F5E475#F5E475

#F5E475 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.133 H 100.7°. Best body text is #000000 at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#F5E475
RGBrgb(245, 228, 117)
HSLhsl(52, 86%, 71%)
HSVhsv(52, 52%, 96%)
CMYKcmyk(0%, 6.9%, 52.2%, 3.9%)
CIE-LABlab(89.95, -8.13, 55.61)
CIE-LCHlch(89.95, 56.20, 98.32°)
OKLaboklab(91.05% -0.0248 0.1309)
OKLCHoklch(91.05% 0.133 100.7)
XYZxyz(68.6127, 76.1861, 27.9174)
Luminance0.7618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E475 #7586F5
analogous
#F5A475 #F5E475 #C6F575
triadic
#F5E475 #75F5E4 #E475F5
tetradic
#F5E475 #75F5A4 #7586F5 #F575C6
square
#F5E475 #75F5A4 #7586F5 #F575C6
split-complementary
#F5E475 #75C6F5 #A475F5
monochromatic
#DFC410 #F1D93C #F5E475 #F9EFAE #FDF9E2

Accessibility & contrast

On white

1.29
#F5E475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.24
#F5E475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E475
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E475#FFFFFF#000000##000000
##F5E4751.001.2916.2416.24
#FFFFFF1.291.0021.0021.00
#00000016.2421.001.001.00
##00000016.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6B
Deuteranopia (green-blind)
#FBE57A
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e475;
/* rgb */ color: rgb(245, 228, 117);
/* oklch */ color: oklch(91.1% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#fbec9f',
    500: '#f5e475',
    950: '#000000',
  },
}
SCSS
$custom: #f5e475;
$custom-light: #fbec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e475",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 117
  },
  "hsl": {
    "h": 52.031,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91053,
    "c": 0.13326,
    "h": 100.7
  },
  "luminance": 0.76184
}

Semantic roles & 50–950 ramp

primary
#F5E475
secondary
#3F52D0
accent
#20E302
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E475

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

Preview Lab → · Contrast checker → · Palette generator →

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