#F5F47D#F5F47D

#F5F47D is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.4% C 0.142 H 108.4°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F5F47D
RGBrgb(245, 244, 125)
HSLhsl(60, 86%, 73%)
HSVhsv(60, 49%, 96%)
CMYKcmyk(0%, 0.4%, 49%, 3.9%)
CIE-LABlab(94.14, -15.37, 56.87)
CIE-LCHlch(94.14, 58.91, 105.12°)
OKLaboklab(94.41% -0.0447 0.1344)
OKLCHoklch(94.41% 0.142 108.4)
XYZxyz(73.7102, 85.5963, 32.0369)
Luminance0.8559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F47D #7D7EF5
analogous
#F5B87D #F5F47D #BAF57D
triadic
#F5F47D #7DF5F4 #F47DF5
tetradic
#F5F47D #7DF5B8 #7D7EF5 #F57DBA
square
#F5F47D #7DF5B8 #7D7EF5 #F57DBA
split-complementary
#F5F47D #7DBAF5 #B87DF5
monochromatic
#E6E412 #F1EF44 #F5F47D #F9F9B6 #FDFDE3

Accessibility & contrast

On white

1.16
#F5F47D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F5F47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F47D
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F47D#FFFFFF#000000##000000
##F5F47D1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC72
Deuteranopia (green-blind)
#FFF083
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f47d;
/* rgb */ color: rgb(245, 244, 125);
/* oklch */ color: oklch(94.4% 0.142 108.4);
Tailwind
colors: {
  custom: {
    50: '#fbf7a5',
    500: '#f5f47d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f47d;
$custom-light: #fbf7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f47d",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 125
  },
  "hsl": {
    "h": 59.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94414,
    "c": 0.14165,
    "h": 108.4
  },
  "luminance": 0.85595
}

Semantic roles & 50–950 ramp

primary
#F5F47D
secondary
#4647D1
accent
#05E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F47D

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

Preview Lab → · Contrast checker → · Palette generator →

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