#F5DB6A#F5DB6A

#F5DB6A is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.136 H 96.5°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#F5DB6A
RGBrgb(245, 219, 106)
HSLhsl(49, 87%, 69%)
HSVhsv(49, 57%, 96%)
CMYKcmyk(0%, 10.6%, 56.7%, 3.9%)
CIE-LABlab(87.54, -4.46, 57.87)
CIE-LCHlch(87.54, 58.04, 94.40°)
OKLaboklab(89.11% -0.0154 0.1347)
OKLCHoklch(89.11% 0.136 96.5)
XYZxyz(65.5918, 71.1190, 23.9052)
Luminance0.7112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB6A #6A84F5
analogous
#F5966A #F5DB6A #CAF56A
triadic
#F5DB6A #6AF5DB #DB6AF5
tetradic
#F5DB6A #6AF596 #6A84F5 #F56ACA
square
#F5DB6A #6AF596 #6A84F5 #F56ACA
split-complementary
#F5DB6A #6ACAF5 #966AF5
monochromatic
#D6B10E #F1CD31 #F5DB6A #F9E9A3 #FDF7DD

Accessibility & contrast

On white

1.38
#F5DB6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.22
#F5DB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB6A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB6A#FFFFFF#000000##000000
##F5DB6A1.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65F
Deuteranopia (green-blind)
#F5DF6F
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db6a;
/* rgb */ color: rgb(245, 219, 106);
/* oklch */ color: oklch(89.1% 0.136 96.5);
Tailwind
colors: {
  custom: {
    50: '#fbe598',
    500: '#f5db6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5db6a;
$custom-light: #fbe598;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db6a",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 106
  },
  "hsl": {
    "h": 48.777,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89112,
    "c": 0.13558,
    "h": 96.5
  },
  "luminance": 0.71116
}

Semantic roles & 50–950 ramp

primary
#F5DB6A
secondary
#3552CE
accent
#2CE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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