#F5E985#F5E985

#F5E985 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.3% C 0.122 H 102.4°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#F5E985
RGBrgb(245, 233, 133)
HSLhsl(54, 85%, 74%)
HSVhsv(54, 46%, 96%)
CMYKcmyk(0%, 4.9%, 45.7%, 3.9%)
CIE-LABlab(91.41, -9.23, 49.81)
CIE-LCHlch(91.41, 50.66, 100.50°)
OKLaboklab(92.27% -0.0263 0.1195)
OKLCHoklch(92.27% 0.122 102.4)
XYZxyz(71.0305, 79.3859, 33.7671)
Luminance0.7938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E985 #8591F5
analogous
#F5B185 #F5E985 #C9F585
triadic
#F5E985 #85F5E9 #E985F5
tetradic
#F5E985 #85F5B1 #8591F5 #F585C9
square
#F5E985 #85F5B1 #8591F5 #F585C9
split-complementary
#F5E985 #85C9F5 #B185F5
monochromatic
#ECD514 #F0DF4C #F5E985 #FAF3BE #FDFAE3

Accessibility & contrast

On white

1.24
#F5E985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#F5E985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E985
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E985#FFFFFF#000000##000000
##F5E9851.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E37D
Deuteranopia (green-blind)
#FDE989
Tritanopia (blue-blind)
#FFDDD1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5e985;
/* rgb */ color: rgb(245, 233, 133);
/* oklch */ color: oklch(92.3% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#faefaa',
    500: '#f5e985',
    950: '#000000',
  },
}
SCSS
$custom: #f5e985;
$custom-light: #faefaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e985",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 133
  },
  "hsl": {
    "h": 53.571,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92274,
    "c": 0.12235,
    "h": 102.4
  },
  "luminance": 0.79384
}

Semantic roles & 50–950 ramp

primary
#F5E985
secondary
#4D5BD2
accent
#1CE104
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F5E985

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

Preview Lab → · Contrast checker → · Palette generator →

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