#F5E784#F5E784

#F5E784 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.9% C 0.121 H 101.3°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F5E784
RGBrgb(245, 231, 132)
HSLhsl(53, 85%, 74%)
HSVhsv(53, 46%, 96%)
CMYKcmyk(0%, 5.7%, 46.1%, 3.9%)
CIE-LABlab(90.89, -8.33, 49.65)
CIE-LCHlch(90.89, 50.34, 99.52°)
OKLaboklab(91.86% -0.0238 0.1191)
OKLCHoklch(91.86% 0.121 101.3)
XYZxyz(70.3988, 78.2325, 33.2174)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E784 #8492F5
analogous
#F5AF84 #F5E784 #CBF584
triadic
#F5E784 #84F5E7 #E784F5
tetradic
#F5E784 #84F5AF #8492F5 #F584CB
square
#F5E784 #84F5AF #8492F5 #F584CB
split-complementary
#F5E784 #84CBF5 #AF84F5
monochromatic
#EBD113 #F0DC4B #F5E784 #FAF2BD #FDF9E3

Accessibility & contrast

On white

1.26
#F5E784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#F5E784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E784
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E784#FFFFFF#000000##000000
##F5E7841.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E17C
Deuteranopia (green-blind)
#FCE888
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e784;
/* rgb */ color: rgb(245, 231, 132);
/* oklch */ color: oklch(91.9% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#faeea9',
    500: '#f5e784',
    950: '#000000',
  },
}
SCSS
$custom: #f5e784;
$custom-light: #faeea9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e784",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 132
  },
  "hsl": {
    "h": 52.566,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.91855,
    "c": 0.12142,
    "h": 101.3
  },
  "luminance": 0.7823
}

Semantic roles & 50–950 ramp

primary
#F5E784
secondary
#4C5CD1
accent
#1FE104
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E784

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

Preview Lab → · Contrast checker → · Palette generator →

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