#F5E757#F5E757

#F5E757 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.161 H 103.8°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F5E757
RGBrgb(245, 231, 87)
HSLhsl(55, 89%, 65%)
HSVhsv(55, 64%, 96%)
CMYKcmyk(0%, 5.7%, 64.5%, 3.9%)
CIE-LABlab(90.44, -11.70, 69.17)
CIE-LCHlch(90.44, 70.15, 99.60°)
OKLaboklab(91.36% -0.0382 0.1563)
OKLCHoklch(91.36% 0.161 103.8)
XYZxyz(67.9550, 77.2550, 20.3471)
Luminance0.7725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E757 #5765F5
analogous
#F59857 #F5E757 #B4F557
triadic
#F5E757 #57F5E7 #E757F5
tetradic
#F5E757 #57F598 #5765F5 #F557B4
square
#F5E757 #57F598 #5765F5 #F557B4
split-complementary
#F5E757 #57B4F5 #9857F5
monochromatic
#C6B50C #F2DF1D #F5E757 #F8EF91 #FCF8CB

Accessibility & contrast

On white

1.28
#F5E757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#F5E757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E757
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E757#FFFFFF#000000##000000
##F5E7571.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE044
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e757;
/* rgb */ color: rgb(245, 231, 87);
/* oklch */ color: oklch(91.4% 0.161 103.8);
Tailwind
colors: {
  custom: {
    50: '#fcee8d',
    500: '#f5e757',
    950: '#000000',
  },
}
SCSS
$custom: #f5e757;
$custom-light: #fcee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e757",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 87
  },
  "hsl": {
    "h": 54.684,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91356,
    "c": 0.16087,
    "h": 103.8
  },
  "luminance": 0.77252
}

Semantic roles & 50–950 ramp

primary
#F5E757
secondary
#2D3BC3
accent
#14E500
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E757

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

Preview Lab → · Contrast checker → · Palette generator →

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