#F5E96E#F5E96E

#F5E96E is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 92.0% C 0.144 H 103.7°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#F5E96E
RGBrgb(245, 233, 110)
HSLhsl(55, 87%, 70%)
HSVhsv(55, 55%, 96%)
CMYKcmyk(0%, 4.9%, 55.1%, 3.9%)
CIE-LABlab(91.15, -11.17, 60.20)
CIE-LCHlch(91.15, 61.22, 100.51°)
OKLaboklab(91.99% -0.0342 0.1402)
OKLCHoklch(91.99% 0.144 103.7)
XYZxyz(69.6118, 78.8185, 26.2955)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E96E #6E7AF5
analogous
#F5A66E #F5E96E #BDF56E
triadic
#F5E96E #6EF5E9 #E96EF5
tetradic
#F5E96E #6EF5A6 #6E7AF5 #F56EBD
square
#F5E96E #6EF5A6 #6E7AF5 #F56EBD
split-complementary
#F5E96E #6EBDF5 #A66EF5
monochromatic
#DAC80F #F1E035 #F5E96E #F9F2A7 #FDFAE1

Accessibility & contrast

On white

1.25
#F5E96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#F5E96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E96E
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E96E#FFFFFF#000000##000000
##F5E96E1.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE262
Deuteranopia (green-blind)
#FFE974
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5e96e;
/* rgb */ color: rgb(245, 233, 110);
/* oklch */ color: oklch(92.0% 0.144 103.7);
Tailwind
colors: {
  custom: {
    50: '#fbef9b',
    500: '#f5e96e',
    950: '#000000',
  },
}
SCSS
$custom: #f5e96e;
$custom-light: #fbef9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e96e",
  "rgb": {
    "r": 245,
    "g": 233,
    "b": 110
  },
  "hsl": {
    "h": 54.667,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91987,
    "c": 0.14427,
    "h": 103.7
  },
  "luminance": 0.78816
}

Semantic roles & 50–950 ramp

primary
#F5E96E
secondary
#3846CF
accent
#16E402
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5E96E

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

Preview Lab → · Contrast checker → · Palette generator →

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