#F5DB6B#F5DB6B

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

Color values

HEX#F5DB6B
RGBrgb(245, 219, 107)
HSLhsl(49, 87%, 69%)
HSVhsv(49, 56%, 96%)
CMYKcmyk(0%, 10.6%, 56.3%, 3.9%)
CIE-LABlab(87.55, -4.38, 57.42)
CIE-LCHlch(87.55, 57.59, 94.36°)
OKLaboklab(89.12% -0.0151 0.1339)
OKLCHoklch(89.12% 0.135 96.4)
XYZxyz(65.6441, 71.1400, 24.1807)
Luminance0.7114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB6B #6B85F5
analogous
#F5966B #F5DB6B #CAF56B
triadic
#F5DB6B #6BF5DB #DB6BF5
tetradic
#F5DB6B #6BF596 #6B85F5 #F56BCA
square
#F5DB6B #6BF596 #6B85F5 #F56BCA
split-complementary
#F5DB6B #6BCAF5 #966BF5
monochromatic
#D7B10F #F1CD32 #F5DB6B #F9E9A4 #FDF7DE

Accessibility & contrast

On white

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

On black

15.23
#F5DB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB6B
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB6B#FFFFFF#000000##000000
##F5DB6B1.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5db6b;
/* rgb */ color: rgb(245, 219, 107);
/* oklch */ color: oklch(89.1% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#fbe599',
    500: '#f5db6b',
    950: '#000000',
  },
}
SCSS
$custom: #f5db6b;
$custom-light: #fbe599;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db6b",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 107
  },
  "hsl": {
    "h": 48.696,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.89124,
    "c": 0.1347,
    "h": 96.4
  },
  "luminance": 0.71137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5DB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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