#F5DF6B#F5DF6B

#F5DF6B is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.138 H 98.7°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#F5DF6B
RGBrgb(245, 223, 107)
HSLhsl(50, 87%, 69%)
HSVhsv(50, 56%, 96%)
CMYKcmyk(0%, 9%, 56.3%, 3.9%)
CIE-LABlab(88.57, -6.40, 58.59)
CIE-LCHlch(88.57, 58.94, 96.23°)
OKLaboklab(89.93% -0.0209 0.1364)
OKLCHoklch(89.93% 0.138 98.7)
XYZxyz(66.7002, 73.2521, 24.5327)
Luminance0.7325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF6B #6B81F5
analogous
#F59A6B #F5DF6B #C6F56B
triadic
#F5DF6B #6BF5DF #DF6BF5
tetradic
#F5DF6B #6BF59A #6B81F5 #F56BC6
square
#F5DF6B #6BF59A #6B81F5 #F56BC6
split-complementary
#F5DF6B #6BC6F5 #9A6BF5
monochromatic
#D7B70F #F1D332 #F5DF6B #F9EBA4 #FDF8DE

Accessibility & contrast

On white

1.34
#F5DF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#F5DF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF6B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF6B#FFFFFF#000000##000000
##F5DF6B1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5F
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df6b;
/* rgb */ color: rgb(245, 223, 107);
/* oklch */ color: oklch(89.9% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#fbe899',
    500: '#f5df6b',
    950: '#000000',
  },
}
SCSS
$custom: #f5df6b;
$custom-light: #fbe899;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df6b",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 107
  },
  "hsl": {
    "h": 50.435,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89927,
    "c": 0.13795,
    "h": 98.7
  },
  "luminance": 0.73249
}

Semantic roles & 50–950 ramp

primary
#F5DF6B
secondary
#364ECE
accent
#26E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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