#F0E575#F0E575

#F0E575 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.8% C 0.134 H 103.7°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F0E575
RGBrgb(240, 229, 117)
HSLhsl(55, 80%, 70%)
HSVhsv(55, 51%, 94%)
CMYKcmyk(0%, 4.6%, 51.3%, 5.9%)
CIE-LABlab(89.79, -10.63, 55.32)
CIE-LCHlch(89.79, 56.33, 100.88°)
OKLaboklab(90.83% -0.0317 0.1304)
OKLCHoklch(90.83% 0.134 103.7)
XYZxyz(67.1673, 75.8504, 27.9286)
Luminance0.7585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E575 #7580F0
analogous
#F0A775 #F0E575 #BEF075
triadic
#F0E575 #75F0E5 #E575F0
tetradic
#F0E575 #75F0A7 #7580F0 #F075BE
square
#F0E575 #75F0A7 #7580F0 #F075BE
split-complementary
#F0E575 #75BEF0 #A775F0
monochromatic
#D4C317 #EADB3E #F0E575 #F6EFAC #FCFAE3

Accessibility & contrast

On white

1.30
#F0E575 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F0E575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E575
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E575#FFFFFF#000000##000000
##F0E5751.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6B
Deuteranopia (green-blind)
#FAE47A
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e575;
/* rgb */ color: rgb(240, 229, 117);
/* oklch */ color: oklch(90.8% 0.134 103.7);
Tailwind
colors: {
  custom: {
    50: '#f7ed9f',
    500: '#f0e575',
    950: '#000000',
  },
}
SCSS
$custom: #f0e575;
$custom-light: #f7ed9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e575",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 117
  },
  "hsl": {
    "h": 54.634,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.9083,
    "c": 0.13419,
    "h": 103.7
  },
  "luminance": 0.75848
}

Semantic roles & 50–950 ramp

primary
#F0E575
secondary
#404CC9
accent
#1CDD09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E575

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

Preview Lab → · Contrast checker → · Palette generator →

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