#F5DB6E#F5DB6E

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

Color values

HEX#F5DB6E
RGBrgb(245, 219, 110)
HSLhsl(48, 87%, 70%)
HSVhsv(48, 55%, 96%)
CMYKcmyk(0%, 10.6%, 55.1%, 3.9%)
CIE-LABlab(87.58, -4.16, 56.08)
CIE-LCHlch(87.58, 56.24, 94.24°)
OKLaboklab(89.16% -0.0141 0.1313)
OKLCHoklch(89.16% 0.132 96.1)
XYZxyz(65.8047, 71.2042, 25.0264)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB6E #6E88F5
analogous
#F5976E #F5DB6E #CCF56E
triadic
#F5DB6E #6EF5DB #DB6EF5
tetradic
#F5DB6E #6EF597 #6E88F5 #F56ECC
square
#F5DB6E #6EF597 #6E88F5 #F56ECC
split-complementary
#F5DB6E #6ECCF5 #976EF5
monochromatic
#DAB30F #F1CD35 #F5DB6E #F9E9A7 #FDF7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DB6E#FFFFFF#000000##000000
##F5DB6E1.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)
#EED764
Deuteranopia (green-blind)
#F5DF73
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f5db6e;
/* rgb */ color: rgb(245, 219, 110);
/* oklch */ color: oklch(89.2% 0.132 96.1);
Tailwind
colors: {
  custom: {
    50: '#fbe59a',
    500: '#f5db6e',
    950: '#000000',
  },
}
SCSS
$custom: #f5db6e;
$custom-light: #fbe59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db6e",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 110
  },
  "hsl": {
    "h": 48.444,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89158,
    "c": 0.13203,
    "h": 96.1
  },
  "luminance": 0.71201
}

Semantic roles & 50–950 ramp

primary
#F5DB6E
secondary
#3855CF
accent
#2DE402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F5DB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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