#F5DD82#F5DD82

#F5DD82 is a very light, moderate yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.114 H 95.0°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F5DD82
RGBrgb(245, 221, 130)
HSLhsl(47, 85%, 74%)
HSVhsv(47, 47%, 96%)
CMYKcmyk(0%, 9.8%, 46.9%, 3.9%)
CIE-LABlab(88.32, -3.48, 47.46)
CIE-LCHlch(88.32, 47.58, 94.19°)
OKLaboklab(89.82% -0.01 0.114)
OKLCHoklch(89.82% 0.114 95)
XYZxyz(67.5439, 72.7397, 31.5971)
Luminance0.7274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD82 #829AF5
analogous
#F5A382 #F5DD82 #D3F582
triadic
#F5DD82 #82F5DD #DD82F5
tetradic
#F5DD82 #82F5A3 #829AF5 #F582D3
square
#F5DD82 #82F5A3 #829AF5 #F582D3
split-complementary
#F5DD82 #82D3F5 #A382F5
monochromatic
#EABD13 #F0CE49 #F5DD82 #FAECBB #FDF7E3

Accessibility & contrast

On white

1.35
#F5DD82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.55
#F5DD82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD82
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD82#FFFFFF#000000##000000
##F5DD821.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED97B
Deuteranopia (green-blind)
#F4E186
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5dd82;
/* rgb */ color: rgb(245, 221, 130);
/* oklch */ color: oklch(89.8% 0.114 95.0);
Tailwind
colors: {
  custom: {
    50: '#fae7a8',
    500: '#f5dd82',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd82;
$custom-light: #fae7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd82",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 130
  },
  "hsl": {
    "h": 47.478,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.89819,
    "c": 0.11447,
    "h": 95
  },
  "luminance": 0.72737
}

Semantic roles & 50–950 ramp

primary
#F5DD82
secondary
#4A66D1
accent
#32E204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5DD82

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

Preview Lab → · Contrast checker → · Palette generator →

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