#F5DF6F#F5DF6F

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

Color values

HEX#F5DF6F
RGBrgb(245, 223, 111)
HSLhsl(50, 87%, 70%)
HSVhsv(50, 55%, 96%)
CMYKcmyk(0%, 9%, 54.7%, 3.9%)
CIE-LABlab(88.61, -6.10, 56.81)
CIE-LCHlch(88.61, 57.14, 96.13°)
OKLaboklab(89.97% -0.0196 0.133)
OKLCHoklch(89.97% 0.134 98.4)
XYZxyz(66.9155, 73.3383, 25.6668)
Luminance0.7334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF6F #6F85F5
analogous
#F59C6F #F5DF6F #C8F56F
triadic
#F5DF6F #6FF5DF #DF6FF5
tetradic
#F5DF6F #6FF59C #6F85F5 #F56FC8
square
#F5DF6F #6FF59C #6F85F5 #F56FC8
split-complementary
#F5DF6F #6FC8F5 #9C6FF5
monochromatic
#DAB90F #F1D236 #F5DF6F #F9ECA8 #FDF8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5DF6F#FFFFFF#000000##000000
##F5DF6F1.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)
#F1DA64
Deuteranopia (green-blind)
#F7E274
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df6f;
/* rgb */ color: rgb(245, 223, 111);
/* oklch */ color: oklch(90.0% 0.134 98.4);
Tailwind
colors: {
  custom: {
    50: '#fbe89b',
    500: '#f5df6f',
    950: '#000000',
  },
}
SCSS
$custom: #f5df6f;
$custom-light: #fbe89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df6f",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 111
  },
  "hsl": {
    "h": 50.149,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89973,
    "c": 0.13439,
    "h": 98.4
  },
  "luminance": 0.73336
}

Semantic roles & 50–950 ramp

primary
#F5DF6F
secondary
#3952CF
accent
#27E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF6F

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

Preview Lab → · Contrast checker → · Palette generator →

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