#F0E574#F0E574

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

Color values

HEX#F0E574
RGBrgb(240, 229, 116)
HSLhsl(55, 81%, 70%)
HSVhsv(55, 52%, 94%)
CMYKcmyk(0%, 4.6%, 51.7%, 5.9%)
CIE-LABlab(89.78, -10.71, 55.77)
CIE-LCHlch(89.78, 56.79, 100.87°)
OKLaboklab(90.82% -0.032 0.1313)
OKLCHoklch(90.82% 0.135 103.7)
XYZxyz(67.1088, 75.8270, 27.6207)
Luminance0.7582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E574 #747FF0
analogous
#F0A774 #F0E574 #BDF074
triadic
#F0E574 #74F0E5 #E574F0
tetradic
#F0E574 #74F0A7 #747FF0 #F074BD
square
#F0E574 #74F0A7 #747FF0 #F074BD
split-complementary
#F0E574 #74BDF0 #A774F0
monochromatic
#D3C217 #EADB3D #F0E574 #F6EFAB #FCFAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0E574#FFFFFF#000000##000000
##F0E5741.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)
#F6DE69
Deuteranopia (green-blind)
#FAE479
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e574;
/* rgb */ color: rgb(240, 229, 116);
/* oklch */ color: oklch(90.8% 0.135 103.7);
Tailwind
colors: {
  custom: {
    50: '#f7ed9f',
    500: '#f0e574',
    950: '#000000',
  },
}
SCSS
$custom: #f0e574;
$custom-light: #f7ed9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e574",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 116
  },
  "hsl": {
    "h": 54.677,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90818,
    "c": 0.13513,
    "h": 103.7
  },
  "luminance": 0.75825
}

Semantic roles & 50–950 ramp

primary
#F0E574
secondary
#3F4BC9
accent
#1BDD09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F0E574

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

Preview Lab → · Contrast checker → · Palette generator →

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