#F5DF70#F5DF70

#F5DF70 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.133 H 98.3°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#F5DF70
RGBrgb(245, 223, 112)
HSLhsl(50, 87%, 70%)
HSVhsv(50, 54%, 96%)
CMYKcmyk(0%, 9%, 54.3%, 3.9%)
CIE-LABlab(88.62, -6.02, 56.36)
CIE-LCHlch(88.62, 56.69, 96.10°)
OKLaboklab(89.98% -0.0193 0.1321)
OKLCHoklch(89.98% 0.133 98.3)
XYZxyz(66.9709, 73.3604, 25.9584)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF70 #7086F5
analogous
#F59C70 #F5DF70 #C9F570
triadic
#F5DF70 #70F5DF #DF70F5
tetradic
#F5DF70 #70F59C #7086F5 #F570C9
square
#F5DF70 #70F59C #7086F5 #F570C9
split-complementary
#F5DF70 #70C9F5 #9C70F5
monochromatic
#DBBA0F #F1D237 #F5DF70 #F9ECA9 #FDF9E2

Accessibility & contrast

On white

1.34
#F5DF70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#F5DF70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF70
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF70#FFFFFF#000000##000000
##F5DF701.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA65
Deuteranopia (green-blind)
#F7E275
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df70;
/* rgb */ color: rgb(245, 223, 112);
/* oklch */ color: oklch(90.0% 0.133 98.3);
Tailwind
colors: {
  custom: {
    50: '#fbe89c',
    500: '#f5df70',
    950: '#000000',
  },
}
SCSS
$custom: #f5df70;
$custom-light: #fbe89c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df70",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 112
  },
  "hsl": {
    "h": 50.075,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.89984,
    "c": 0.13349,
    "h": 98.3
  },
  "luminance": 0.73358
}

Semantic roles & 50–950 ramp

primary
#F5DF70
secondary
#3A53CF
accent
#27E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF70

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

Preview Lab → · Contrast checker → · Palette generator →

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