#F0E757#F0E757

#F0E757 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.9% C 0.161 H 105.7°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#F0E757
RGBrgb(240, 231, 87)
HSLhsl(56, 84%, 64%)
HSVhsv(56, 64%, 94%)
CMYKcmyk(0%, 3.7%, 63.7%, 5.9%)
CIE-LABlab(90.03, -13.74, 68.62)
CIE-LCHlch(90.03, 69.98, 101.32°)
OKLaboklab(90.93% -0.0437 0.1552)
OKLCHoklch(90.93% 0.161 105.7)
XYZxyz(66.2338, 76.3675, 20.2665)
Luminance0.7637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E757 #5760F0
analogous
#F09B57 #F0E757 #ACF057
triadic
#F0E757 #57F0E7 #E757F0
tetradic
#F0E757 #57F09B #5760F0 #F057AC
square
#F0E757 #57F09B #5760F0 #F057AC
split-complementary
#F0E757 #57ACF0 #9B57F0
monochromatic
#BCB211 #EBDF1F #F0E757 #F5EF8F #FAF7C7

Accessibility & contrast

On white

1.29
#F0E757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#F0E757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E757
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E757#FFFFFF#000000##000000
##F0E7571.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF44
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e757;
/* rgb */ color: rgb(240, 231, 87);
/* oklch */ color: oklch(90.9% 0.161 105.7);
Tailwind
colors: {
  custom: {
    50: '#f8ee8d',
    500: '#f0e757',
    950: '#000000',
  },
}
SCSS
$custom: #f0e757;
$custom-light: #f8ee8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e757",
  "rgb": {
    "r": 240,
    "g": 231,
    "b": 87
  },
  "hsl": {
    "h": 56.471,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90932,
    "c": 0.16128,
    "h": 105.7
  },
  "luminance": 0.76365
}

Semantic roles & 50–950 ramp

primary
#F0E757
secondary
#3139BA
accent
#12E005
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E757

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

Preview Lab → · Contrast checker → · Palette generator →

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