#F5E46D#F5E46D

#F5E46D is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.141 H 101.3°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F5E46D
RGBrgb(245, 228, 109)
HSLhsl(53, 87%, 69%)
HSVhsv(53, 56%, 96%)
CMYKcmyk(0%, 6.9%, 55.5%, 3.9%)
CIE-LABlab(89.86, -8.76, 59.17)
CIE-LCHlch(89.86, 59.81, 98.42°)
OKLaboklab(90.96% -0.0275 0.1378)
OKLCHoklch(90.96% 0.141 101.3)
XYZxyz(68.1622, 76.0060, 25.5452)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E46D #6D7EF5
analogous
#F5A06D #F5E46D #C2F56D
triadic
#F5E46D #6DF5E4 #E46DF5
tetradic
#F5E46D #6DF5A0 #6D7EF5 #F56DC2
square
#F5E46D #6DF5A0 #6D7EF5 #F56DC2
split-complementary
#F5E46D #6DC2F5 #A06DF5
monochromatic
#D9C00F #F1D934 #F5E46D #F9EFA6 #FDF9E0

Accessibility & contrast

On white

1.30
#F5E46D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#F5E46D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E46D
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E46D#FFFFFF#000000##000000
##F5E46D1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE61
Deuteranopia (green-blind)
#FBE573
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e46d;
/* rgb */ color: rgb(245, 228, 109);
/* oklch */ color: oklch(91.0% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#fbec9a',
    500: '#f5e46d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e46d;
$custom-light: #fbec9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e46d",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 109
  },
  "hsl": {
    "h": 52.5,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.9096,
    "c": 0.14054,
    "h": 101.3
  },
  "luminance": 0.76003
}

Semantic roles & 50–950 ramp

primary
#F5E46D
secondary
#374ACF
accent
#1EE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E46D

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

Preview Lab → · Contrast checker → · Palette generator →

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