#F5F394#F5F394

#F5F394 is a very light, moderate yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.117 H 107.4°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F5F394
RGBrgb(245, 243, 148)
HSLhsl(59, 83%, 77%)
HSVhsv(59, 40%, 96%)
CMYKcmyk(0%, 0.8%, 39.6%, 3.9%)
CIE-LABlab(94.16, -12.70, 46.00)
CIE-LCHlch(94.16, 47.72, 105.43°)
OKLaboklab(94.53% -0.035 0.1118)
OKLCHoklch(94.53% 0.117 107.4)
XYZxyz(75.0532, 85.6534, 40.5903)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F394 #9496F5
analogous
#F5C394 #F5F394 #C7F594
triadic
#F5F394 #94F5F3 #F394F5
tetradic
#F5F394 #94F5C3 #9496F5 #F594C7
square
#F5F394 #94F5C3 #9496F5 #F594C7
split-complementary
#F5F394 #94C7F5 #C394F5
monochromatic
#EBE624 #F0ED5C #F5F394 #FAF9CC #FCFCE3

Accessibility & contrast

On white

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

On black

18.13
#F5F394 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F394
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F394#FFFFFF#000000##000000
##F5F3941.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8D
Deuteranopia (green-blind)
#FFF098
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f394;
/* rgb */ color: rgb(245, 243, 148);
/* oklch */ color: oklch(94.5% 0.117 107.4);
Tailwind
colors: {
  custom: {
    50: '#faf6b5',
    500: '#f5f394',
    950: '#000000',
  },
}
SCSS
$custom: #f5f394;
$custom-light: #faf6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f394",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 148
  },
  "hsl": {
    "h": 58.763,
    "s": 82.906,
    "l": 77.059
  },
  "oklch": {
    "l": 0.94525,
    "c": 0.11717,
    "h": 107.4
  },
  "luminance": 0.85652
}

Semantic roles & 50–950 ramp

primary
#F5F394
secondary
#5A5DD3
accent
#0BDF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F394

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

Preview Lab → · Contrast checker → · Palette generator →

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