#F5F47E#F5F47E

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

Color values

HEX#F5F47E
RGBrgb(245, 244, 126)
HSLhsl(59, 86%, 73%)
HSVhsv(59, 49%, 96%)
CMYKcmyk(0%, 0.4%, 48.6%, 3.9%)
CIE-LABlab(94.15, -15.28, 56.43)
CIE-LCHlch(94.15, 58.46, 105.15°)
OKLaboklab(94.43% -0.0444 0.1335)
OKLCHoklch(94.43% 0.141 108.4)
XYZxyz(73.7745, 85.6220, 32.3751)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F47E #7E7FF5
analogous
#F5B97E #F5F47E #BAF57E
triadic
#F5F47E #7EF5F4 #F47EF5
tetradic
#F5F47E #7EF5B9 #7E7FF5 #F57EBA
square
#F5F47E #7EF5B9 #7E7FF5 #F57EBA
split-complementary
#F5F47E #7EBAF5 #B97EF5
monochromatic
#E7E512 #F1EF45 #F5F47E #F9F9B7 #FDFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F47E#FFFFFF#000000##000000
##F5F47E1.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)
#FFEC73
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f47e;
/* rgb */ color: rgb(245, 244, 126);
/* oklch */ color: oklch(94.4% 0.141 108.4);
Tailwind
colors: {
  custom: {
    50: '#faf7a6',
    500: '#f5f47e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f47e;
$custom-light: #faf7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f47e",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 126
  },
  "hsl": {
    "h": 59.496,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94426,
    "c": 0.1407,
    "h": 108.4
  },
  "luminance": 0.8562
}

Semantic roles & 50–950 ramp

primary
#F5F47E
secondary
#4648D1
accent
#05E203
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F5F47E

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

Preview Lab → · Contrast checker → · Palette generator →

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