#F5DB6F#F5DB6F

#F5DB6F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.2% C 0.131 H 96.0°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F5DB6F
RGBrgb(245, 219, 111)
HSLhsl(48, 87%, 70%)
HSVhsv(48, 55%, 96%)
CMYKcmyk(0%, 10.6%, 54.7%, 3.9%)
CIE-LABlab(87.59, -4.08, 55.63)
CIE-LCHlch(87.59, 55.78, 94.19°)
OKLaboklab(89.17% -0.0138 0.1304)
OKLCHoklch(89.17% 0.131 96)
XYZxyz(65.8594, 71.2261, 25.3148)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB6F #6F89F5
analogous
#F5986F #F5DB6F #CCF56F
triadic
#F5DB6F #6FF5DB #DB6FF5
tetradic
#F5DB6F #6FF598 #6F89F5 #F56FCC
square
#F5DB6F #6FF598 #6F89F5 #F56FCC
split-complementary
#F5DB6F #6FCCF5 #986FF5
monochromatic
#DAB30F #F1CD36 #F5DB6F #F9E9A8 #FDF8E1

Accessibility & contrast

On white

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

On black

15.24
#F5DB6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB6F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB6F#FFFFFF#000000##000000
##F5DB6F1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED765
Deuteranopia (green-blind)
#F4DF74
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db6f;
/* rgb */ color: rgb(245, 219, 111);
/* oklch */ color: oklch(89.2% 0.131 96.0);
Tailwind
colors: {
  custom: {
    50: '#fbe59b',
    500: '#f5db6f',
    950: '#000000',
  },
}
SCSS
$custom: #f5db6f;
$custom-light: #fbe59b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db6f",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 111
  },
  "hsl": {
    "h": 48.358,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.8917,
    "c": 0.13113,
    "h": 96
  },
  "luminance": 0.71223
}

Semantic roles & 50–950 ramp

primary
#F5DB6F
secondary
#3956CF
accent
#2EE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DB6F

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

Preview Lab → · Contrast checker → · Palette generator →

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