#F5DB82#F5DB82

#F5DB82 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.113 H 93.6°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F5DB82
RGBrgb(245, 219, 130)
HSLhsl(46, 85%, 74%)
HSVhsv(46, 47%, 96%)
CMYKcmyk(0%, 10.6%, 46.9%, 3.9%)
CIE-LABlab(87.82, -2.47, 46.83)
CIE-LCHlch(87.82, 46.90, 93.01°)
OKLaboklab(89.42% -0.0071 0.1126)
OKLCHoklch(89.42% 0.113 93.6)
XYZxyz(67.0190, 71.6899, 31.4221)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DB82 #829CF5
analogous
#F5A182 #F5DB82 #D5F582
triadic
#F5DB82 #82F5DB #DB82F5
tetradic
#F5DB82 #82F5A1 #829CF5 #F582D5
square
#F5DB82 #82F5A1 #829CF5 #F582D5
split-complementary
#F5DB82 #82D5F5 #A182F5
monochromatic
#EAB913 #F0CB49 #F5DB82 #FAEBBB #FDF7E3

Accessibility & contrast

On white

1.37
#F5DB82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#F5DB82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DB82
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DB82#FFFFFF#000000##000000
##F5DB821.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD87B
Deuteranopia (green-blind)
#F3E085
Tritanopia (blue-blind)
#FFCFC6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f5db82;
/* rgb */ color: rgb(245, 219, 130);
/* oklch */ color: oklch(89.4% 0.113 93.6);
Tailwind
colors: {
  custom: {
    50: '#fae6a8',
    500: '#f5db82',
    950: '#000000',
  },
}
SCSS
$custom: #f5db82;
$custom-light: #fae6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5db82",
  "rgb": {
    "r": 245,
    "g": 219,
    "b": 130
  },
  "hsl": {
    "h": 46.435,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.8942,
    "c": 0.11285,
    "h": 93.6
  },
  "luminance": 0.71687
}

Semantic roles & 50–950 ramp

primary
#F5DB82
secondary
#4A69D1
accent
#36E204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181510
muted
#868480

Preview Lab

Preview with #F5DB82

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

Preview Lab → · Contrast checker → · Palette generator →

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