#F5DF6E#F5DF6E

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

Color values

HEX#F5DF6E
RGBrgb(245, 223, 110)
HSLhsl(50, 87%, 70%)
HSVhsv(50, 55%, 96%)
CMYKcmyk(0%, 9%, 55.1%, 3.9%)
CIE-LABlab(88.60, -6.18, 57.26)
CIE-LCHlch(88.60, 57.59, 96.16°)
OKLaboklab(89.96% -0.0199 0.1338)
OKLCHoklch(89.96% 0.135 98.5)
XYZxyz(66.8607, 73.3164, 25.3784)
Luminance0.7331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF6E #6E84F5
analogous
#F59B6E #F5DF6E #C8F56E
triadic
#F5DF6E #6EF5DF #DF6EF5
tetradic
#F5DF6E #6EF59B #6E84F5 #F56EC8
square
#F5DF6E #6EF59B #6E84F5 #F56EC8
split-complementary
#F5DF6E #6EC8F5 #9B6EF5
monochromatic
#DAB90F #F1D235 #F5DF6E #F9ECA7 #FDF8E1

Accessibility & contrast

On white

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

On black

15.66
#F5DF6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF6E
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF6E#FFFFFF#000000##000000
##F5DF6E1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5df6e;
/* rgb */ color: rgb(245, 223, 110);
/* oklch */ color: oklch(90.0% 0.135 98.5);
Tailwind
colors: {
  custom: {
    50: '#fbe89b',
    500: '#f5df6e',
    950: '#000000',
  },
}
SCSS
$custom: #f5df6e;
$custom-light: #fbe89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df6e",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 110
  },
  "hsl": {
    "h": 50.222,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89961,
    "c": 0.1353,
    "h": 98.5
  },
  "luminance": 0.73314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5DF6E

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

Preview Lab → · Contrast checker → · Palette generator →

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