#F5D56A#F5D56A

#F5D56A is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.9% C 0.131 H 92.9°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F5D56A
RGBrgb(245, 213, 106)
HSLhsl(46, 87%, 69%)
HSVhsv(46, 57%, 96%)
CMYKcmyk(0%, 13.1%, 56.7%, 3.9%)
CIE-LABlab(86.03, -1.41, 56.13)
CIE-LCHlch(86.03, 56.14, 91.44°)
OKLaboklab(87.92% -0.0066 0.1309)
OKLCHoklch(87.92% 0.131 92.9)
XYZxyz(64.0546, 68.0447, 23.3928)
Luminance0.6804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D56A #6A8AF5
analogous
#F5906A #F5D56A #D0F56A
triadic
#F5D56A #6AF5D5 #D56AF5
tetradic
#F5D56A #6AF590 #6A8AF5 #F56AD0
square
#F5D56A #6AF590 #6A8AF5 #F56AD0
split-complementary
#F5D56A #6AD0F5 #906AF5
monochromatic
#D6A80E #F1C531 #F5D56A #F9E5A3 #FDF5DD

Accessibility & contrast

On white

1.44
#F5D56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F5D56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D56A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D56A#FFFFFF#000000##000000
##F5D56A1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D260
Deuteranopia (green-blind)
#F0DB6E
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d56a;
/* rgb */ color: rgb(245, 213, 106);
/* oklch */ color: oklch(87.9% 0.131 92.9);
Tailwind
colors: {
  custom: {
    50: '#fbe198',
    500: '#f5d56a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d56a;
$custom-light: #fbe198;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d56a",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 46.187,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87915,
    "c": 0.13111,
    "h": 92.9
  },
  "luminance": 0.68042
}

Semantic roles & 50–950 ramp

primary
#F5D56A
secondary
#3558CE
accent
#36E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D56A

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

Preview Lab → · Contrast checker → · Palette generator →

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