#F5F48E#F5F48E

#F5F48E is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.125 H 108.1°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#F5F48E
RGBrgb(245, 244, 142)
HSLhsl(59, 84%, 76%)
HSVhsv(59, 42%, 96%)
CMYKcmyk(0%, 0.4%, 42%, 3.9%)
CIE-LABlab(94.34, -13.80, 49.12)
CIE-LCHlch(94.34, 51.02, 105.69°)
OKLaboklab(94.64% -0.0387 0.1185)
OKLCHoklch(94.64% 0.125 108.1)
XYZxyz(74.8907, 86.0685, 38.2537)
Luminance0.8607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F48E #8E8FF5
analogous
#F5C08E #F5F48E #C2F58E
triadic
#F5F48E #8EF5F4 #F48EF5
tetradic
#F5F48E #8EF5C0 #8E8FF5 #F58EC2
square
#F5F48E #8EF5C0 #8E8FF5 #F58EC2
split-complementary
#F5F48E #8EC2F5 #C08EF5
monochromatic
#EBE91E #F0EF56 #F5F48E #FAF9C6 #FDFCE3

Accessibility & contrast

On white

1.15
#F5F48E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#F5F48E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F48E
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F48E#FFFFFF#000000##000000
##F5F48E1.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FFF193
Tritanopia (blue-blind)
#FFE8DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f48e;
/* rgb */ color: rgb(245, 244, 142);
/* oklch */ color: oklch(94.6% 0.125 108.1);
Tailwind
colors: {
  custom: {
    50: '#faf7b1',
    500: '#f5f48e',
    950: '#000000',
  },
}
SCSS
$custom: #f5f48e;
$custom-light: #faf7b1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f48e",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 142
  },
  "hsl": {
    "h": 59.417,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.9464,
    "c": 0.12466,
    "h": 108.1
  },
  "luminance": 0.86067
}

Semantic roles & 50–950 ramp

primary
#F5F48E
secondary
#5556D3
accent
#07E005
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F5F48E

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

Preview Lab → · Contrast checker → · Palette generator →

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