#F5ED6A#F5ED6A

#F5ED6A is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.8% C 0.152 H 105.7°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#F5ED6A
RGBrgb(245, 237, 106)
HSLhsl(57, 87%, 69%)
HSVhsv(57, 57%, 96%)
CMYKcmyk(0%, 3.3%, 56.7%, 3.9%)
CIE-LABlab(92.14, -13.43, 63.08)
CIE-LCHlch(92.14, 64.50, 102.02°)
OKLaboklab(92.76% -0.0411 0.1459)
OKLCHoklch(92.76% 0.152 105.7)
XYZxyz(70.5441, 81.0237, 25.5560)
Luminance0.8102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED6A #6A72F5
analogous
#F5A86A #F5ED6A #B8F56A
triadic
#F5ED6A #6AF5ED #ED6AF5
tetradic
#F5ED6A #6AF5A8 #6A72F5 #F56AB8
square
#F5ED6A #6AF5A8 #6A72F5 #F56AB8
split-complementary
#F5ED6A #6AB8F5 #A86AF5
monochromatic
#D6CB0E #F1E631 #F5ED6A #F9F4A3 #FDFBDD

Accessibility & contrast

On white

1.22
#F5ED6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.20
#F5ED6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED6A
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED6A#FFFFFF#000000##000000
##F5ED6A1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE55C
Deuteranopia (green-blind)
#FFEB71
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ed6a;
/* rgb */ color: rgb(245, 237, 106);
/* oklch */ color: oklch(92.8% 0.152 105.7);
Tailwind
colors: {
  custom: {
    50: '#fbf299',
    500: '#f5ed6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed6a;
$custom-light: #fbf299;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed6a",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 106
  },
  "hsl": {
    "h": 56.547,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.92762,
    "c": 0.15157,
    "h": 105.7
  },
  "luminance": 0.81021
}

Semantic roles & 50–950 ramp

primary
#F5ED6A
secondary
#353ECE
accent
#0FE402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5ED6A

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

Preview Lab → · Contrast checker → · Palette generator →

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