#F5EF94#F5EF94

#F5EF94 is a very light, moderate yellow. Relative luminance 0.833; OKLCH L 93.7% C 0.113 H 105.1°. Best body text is #000000 at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#F5EF94
RGBrgb(245, 239, 148)
HSLhsl(56, 83%, 77%)
HSVhsv(56, 40%, 96%)
CMYKcmyk(0%, 2.4%, 39.6%, 3.9%)
CIE-LABlab(93.14, -10.72, 44.70)
CIE-LCHlch(93.14, 45.97, 103.49°)
OKLaboklab(93.71% -0.0294 0.1089)
OKLCHoklch(93.71% 0.113 105.1)
XYZxyz(73.8692, 83.2854, 40.1957)
Luminance0.8328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF94 #949AF5
analogous
#F5BF94 #F5EF94 #CAF594
triadic
#F5EF94 #94F5EF #EF94F5
tetradic
#F5EF94 #94F5BF #949AF5 #F594CA
square
#F5EF94 #94F5BF #949AF5 #F594CA
split-complementary
#F5EF94 #94CAF5 #BF94F5
monochromatic
#EBDE24 #F0E75C #F5EF94 #FAF7CC #FCFBE3

Accessibility & contrast

On white

1.19
#F5EF94 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.66
#F5EF94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF94
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF94#FFFFFF#000000##000000
##F5EF941.001.1917.6617.66
#FFFFFF1.191.0021.0021.00
#00000017.6621.001.001.00
##00000017.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98D
Deuteranopia (green-blind)
#FFED98
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f5ef94;
/* rgb */ color: rgb(245, 239, 148);
/* oklch */ color: oklch(93.7% 0.113 105.1);
Tailwind
colors: {
  custom: {
    50: '#faf4b4',
    500: '#f5ef94',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef94;
$custom-light: #faf4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef94",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 148
  },
  "hsl": {
    "h": 56.289,
    "s": 82.906,
    "l": 77.059
  },
  "oklch": {
    "l": 0.93711,
    "c": 0.11275,
    "h": 105.1
  },
  "luminance": 0.83284
}

Semantic roles & 50–950 ramp

primary
#F5EF94
secondary
#5A62D3
accent
#14DF06
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5EF94

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

Preview Lab → · Contrast checker → · Palette generator →

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