#F5DD81#F5DD81

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

Color values

HEX#F5DD81
RGBrgb(245, 221, 129)
HSLhsl(48, 85%, 73%)
HSVhsv(48, 47%, 96%)
CMYKcmyk(0%, 9.8%, 47.3%, 3.9%)
CIE-LABlab(88.31, -3.57, 47.93)
CIE-LCHlch(88.31, 48.06, 94.26°)
OKLaboklab(89.8% -0.0104 0.115)
OKLCHoklch(89.8% 0.115 95.2)
XYZxyz(67.4771, 72.7130, 31.2453)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD81 #8199F5
analogous
#F5A381 #F5DD81 #D3F581
triadic
#F5DD81 #81F5DD #DD81F5
tetradic
#F5DD81 #81F5A3 #8199F5 #F581D3
square
#F5DD81 #81F5A3 #8199F5 #F581D3
split-complementary
#F5DD81 #81D3F5 #A381F5
monochromatic
#E9BD13 #F0CE48 #F5DD81 #F9ECBA #FDF7E3

Accessibility & contrast

On white

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

On black

15.54
#F5DD81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD81
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD81#FFFFFF#000000##000000
##F5DD811.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED979
Deuteranopia (green-blind)
#F4E185
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5dd81;
/* rgb */ color: rgb(245, 221, 129);
/* oklch */ color: oklch(89.8% 0.115 95.2);
Tailwind
colors: {
  custom: {
    50: '#fae7a7',
    500: '#f5dd81',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd81;
$custom-light: #fae7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd81",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 129
  },
  "hsl": {
    "h": 47.586,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.89804,
    "c": 0.11548,
    "h": 95.2
  },
  "luminance": 0.7271
}

Semantic roles & 50–950 ramp

primary
#F5DD81
secondary
#4965D1
accent
#32E204
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F5DD81

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

Preview Lab → · Contrast checker → · Palette generator →

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