#F5D46A#F5D46A

#F5D46A is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.7% C 0.130 H 92.3°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F5D46A
RGBrgb(245, 212, 106)
HSLhsl(46, 87%, 69%)
HSVhsv(46, 57%, 96%)
CMYKcmyk(0%, 13.5%, 56.7%, 3.9%)
CIE-LABlab(85.78, -0.90, 55.84)
CIE-LCHlch(85.78, 55.84, 90.92°)
OKLaboklab(87.72% -0.0051 0.1303)
OKLCHoklch(87.72% 0.13 92.3)
XYZxyz(63.8039, 67.5432, 23.3093)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D46A #6A8BF5
analogous
#F58F6A #F5D46A #D1F56A
triadic
#F5D46A #6AF5D4 #D46AF5
tetradic
#F5D46A #6AF58F #6A8BF5 #F56AD1
square
#F5D46A #6AF58F #6A8BF5 #F56AD1
split-complementary
#F5D46A #6AD1F5 #8F6AF5
monochromatic
#D6A70E #F1C331 #F5D46A #F9E5A3 #FDF5DD

Accessibility & contrast

On white

1.45
#F5D46A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F5D46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D46A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D46A#FFFFFF#000000##000000
##F5D46A1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D160
Deuteranopia (green-blind)
#F0DB6E
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d46a;
/* rgb */ color: rgb(245, 212, 106);
/* oklch */ color: oklch(87.7% 0.130 92.3);
Tailwind
colors: {
  custom: {
    50: '#fbe098',
    500: '#f5d46a',
    950: '#000000',
  },
}
SCSS
$custom: #f5d46a;
$custom-light: #fbe098;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d46a",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 106
  },
  "hsl": {
    "h": 45.755,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87717,
    "c": 0.13041,
    "h": 92.3
  },
  "luminance": 0.6754
}

Semantic roles & 50–950 ramp

primary
#F5D46A
secondary
#3559CE
accent
#37E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5D46A

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

Preview Lab → · Contrast checker → · Palette generator →

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