#F5E56D#F5E56D

#F5E56D is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.2% C 0.141 H 101.8°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#F5E56D
RGBrgb(245, 229, 109)
HSLhsl(53, 87%, 69%)
HSVhsv(53, 56%, 96%)
CMYKcmyk(0%, 6.5%, 55.5%, 3.9%)
CIE-LABlab(90.12, -9.25, 59.46)
CIE-LCHlch(90.12, 60.18, 98.85°)
OKLaboklab(91.16% -0.0289 0.1385)
OKLCHoklch(91.16% 0.141 101.8)
XYZxyz(68.4381, 76.5578, 25.6372)
Luminance0.7655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E56D #6D7DF5
analogous
#F5A16D #F5E56D #C1F56D
triadic
#F5E56D #6DF5E5 #E56DF5
tetradic
#F5E56D #6DF5A1 #6D7DF5 #F56DC1
square
#F5E56D #6DF5A1 #6D7DF5 #F56DC1
split-complementary
#F5E56D #6DC1F5 #A16DF5
monochromatic
#D9C10F #F1DB34 #F5E56D #F9EFA6 #FDF9E0

Accessibility & contrast

On white

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

On black

16.31
#F5E56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E56D
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E56D#FFFFFF#000000##000000
##F5E56D1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF61
Deuteranopia (green-blind)
#FCE673
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e56d;
/* rgb */ color: rgb(245, 229, 109);
/* oklch */ color: oklch(91.2% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#fbed9a',
    500: '#f5e56d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e56d;
$custom-light: #fbed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e56d",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 109
  },
  "hsl": {
    "h": 52.941,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.91162,
    "c": 0.14144,
    "h": 101.8
  },
  "luminance": 0.76555
}

Semantic roles & 50–950 ramp

primary
#F5E56D
secondary
#3749CF
accent
#1CE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E56D

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

Preview Lab → · Contrast checker → · Palette generator →

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