#F5DF6A#F5DF6A

#F5DF6A is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.139 H 98.8°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#F5DF6A
RGBrgb(245, 223, 106)
HSLhsl(51, 87%, 69%)
HSVhsv(51, 57%, 96%)
CMYKcmyk(0%, 9%, 56.7%, 3.9%)
CIE-LABlab(88.56, -6.47, 59.03)
CIE-LCHlch(88.56, 59.38, 96.26°)
OKLaboklab(89.92% -0.0212 0.1372)
OKLCHoklch(89.92% 0.139 98.8)
XYZxyz(66.6479, 73.2312, 24.2573)
Luminance0.7323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF6A #6A80F5
analogous
#F59A6A #F5DF6A #C5F56A
triadic
#F5DF6A #6AF5DF #DF6AF5
tetradic
#F5DF6A #6AF59A #6A80F5 #F56AC5
square
#F5DF6A #6AF59A #6A80F5 #F56AC5
split-complementary
#F5DF6A #6AC5F5 #9A6AF5
monochromatic
#D6B70E #F1D331 #F5DF6A #F9EBA3 #FDF8DD

Accessibility & contrast

On white

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

On black

15.65
#F5DF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF6A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF6A#FFFFFF#000000##000000
##F5DF6A1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5E
Deuteranopia (green-blind)
#F8E270
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df6a;
/* rgb */ color: rgb(245, 223, 106);
/* oklch */ color: oklch(89.9% 0.139 98.8);
Tailwind
colors: {
  custom: {
    50: '#fbe898',
    500: '#f5df6a',
    950: '#000000',
  },
}
SCSS
$custom: #f5df6a;
$custom-light: #fbe898;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df6a",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 106
  },
  "hsl": {
    "h": 50.504,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.89916,
    "c": 0.13882,
    "h": 98.8
  },
  "luminance": 0.73228
}

Semantic roles & 50–950 ramp

primary
#F5DF6A
secondary
#354DCE
accent
#25E402
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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