#F5DF85#F5DF85

#F5DF85 is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 90.3% C 0.113 H 96.0°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#F5DF85
RGBrgb(245, 223, 133)
HSLhsl(48, 85%, 74%)
HSVhsv(48, 46%, 96%)
CMYKcmyk(0%, 9%, 45.7%, 3.9%)
CIE-LABlab(88.87, -4.21, 46.67)
CIE-LCHlch(88.87, 46.86, 95.16°)
OKLaboklab(90.26% -0.0119 0.1125)
OKLCHoklch(90.26% 0.113 96)
XYZxyz(68.2794, 73.8838, 32.8501)
Luminance0.7388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF85 #859BF5
analogous
#F5A785 #F5DF85 #D3F585
triadic
#F5DF85 #85F5DF #DF85F5
tetradic
#F5DF85 #85F5A7 #859BF5 #F585D3
square
#F5DF85 #85F5A7 #859BF5 #F585D3
split-complementary
#F5DF85 #85D3F5 #A785F5
monochromatic
#ECC114 #F0D04C #F5DF85 #FAEEBE #FDF8E3

Accessibility & contrast

On white

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

On black

15.78
#F5DF85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF85
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF85#FFFFFF#000000##000000
##F5DF851.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5df85;
/* rgb */ color: rgb(245, 223, 133);
/* oklch */ color: oklch(90.3% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#fae8aa',
    500: '#f5df85',
    950: '#000000',
  },
}
SCSS
$custom: #f5df85;
$custom-light: #fae8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df85",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 133
  },
  "hsl": {
    "h": 48.214,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.90261,
    "c": 0.11308,
    "h": 96
  },
  "luminance": 0.73881
}

Semantic roles & 50–950 ramp

primary
#F5DF85
secondary
#4D67D2
accent
#30E104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DF85

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

Preview Lab → · Contrast checker → · Palette generator →

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