#F5F09D#F5F09D

#F5F09D is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.1% C 0.104 H 105.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F5F09D
RGBrgb(245, 240, 157)
HSLhsl(57, 81%, 79%)
HSVhsv(57, 36%, 96%)
CMYKcmyk(0%, 2%, 35.9%, 3.9%)
CIE-LABlab(93.52, -10.25, 40.76)
CIE-LCHlch(93.52, 42.02, 104.11°)
OKLaboklab(94.06% -0.0274 0.1002)
OKLCHoklch(94.06% 0.104 105.3)
XYZxyz(74.9030, 84.1686, 44.1922)
Luminance0.8417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F09D #9DA2F5
analogous
#F5C49D #F5F09D #CEF59D
triadic
#F5F09D #9DF5F0 #F09DF5
tetradic
#F5F09D #9DF5C4 #9DA2F5 #F59DCE
square
#F5F09D #9DF5C4 #9DA2F5 #F59DCE
split-complementary
#F5F09D #9DCEF5 #C49DF5
monochromatic
#EADF2E #EFE865 #F5F09D #FBF9D5 #FCFBE3

Accessibility & contrast

On white

1.18
#F5F09D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#F5F09D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F09D
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F09D#FFFFFF#000000##000000
##F5F09D1.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEEA97
Deuteranopia (green-blind)
#FFEEA0
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f5f09d;
/* rgb */ color: rgb(245, 240, 157);
/* oklch */ color: oklch(94.1% 0.104 105.3);
Tailwind
colors: {
  custom: {
    50: '#f9f4bb',
    500: '#f5f09d',
    950: '#000000',
  },
}
SCSS
$custom: #f5f09d;
$custom-light: #f9f4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f09d",
  "rgb": {
    "r": 245,
    "g": 240,
    "b": 157
  },
  "hsl": {
    "h": 56.591,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94058,
    "c": 0.1039,
    "h": 105.3
  },
  "luminance": 0.84167
}

Semantic roles & 50–950 ramp

primary
#F5F09D
secondary
#6269D4
accent
#14DE08
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171712
muted
#858582

Preview Lab

Preview with #F5F09D

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

Preview Lab → · Contrast checker → · Palette generator →

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