#F5DF82#F5DF82

#F5DF82 is a very light, moderate yellow. Relative luminance 0.738; OKLCH L 90.2% C 0.116 H 96.4°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F5DF82
RGBrgb(245, 223, 130)
HSLhsl(49, 85%, 74%)
HSVhsv(49, 47%, 96%)
CMYKcmyk(0%, 9%, 46.9%, 3.9%)
CIE-LABlab(88.83, -4.49, 48.08)
CIE-LCHlch(88.83, 48.29, 95.34°)
OKLaboklab(90.22% -0.013 0.1154)
OKLCHoklch(90.22% 0.116 96.4)
XYZxyz(68.0751, 73.8021, 31.7741)
Luminance0.7380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF82 #8298F5
analogous
#F5A582 #F5DF82 #D1F582
triadic
#F5DF82 #82F5DF #DF82F5
tetradic
#F5DF82 #82F5A5 #8298F5 #F582D1
square
#F5DF82 #82F5A5 #8298F5 #F582D1
split-complementary
#F5DF82 #82D1F5 #A582F5
monochromatic
#EAC113 #F0D049 #F5DF82 #FAEEBB #FDF8E3

Accessibility & contrast

On white

1.33
#F5DF82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#F5DF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF82
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF82#FFFFFF#000000##000000
##F5DF821.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7A
Deuteranopia (green-blind)
#F6E286
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df82;
/* rgb */ color: rgb(245, 223, 130);
/* oklch */ color: oklch(90.2% 0.116 96.4);
Tailwind
colors: {
  custom: {
    50: '#fae8a8',
    500: '#f5df82',
    950: '#000000',
  },
}
SCSS
$custom: #f5df82;
$custom-light: #fae8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df82",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 130
  },
  "hsl": {
    "h": 48.522,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.90218,
    "c": 0.11615,
    "h": 96.4
  },
  "luminance": 0.738
}

Semantic roles & 50–950 ramp

primary
#F5DF82
secondary
#4A64D1
accent
#2EE204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5DF82

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

Preview Lab → · Contrast checker → · Palette generator →

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