#F0ED5E#F0ED5E

#F0ED5E is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.2% C 0.162 H 108.0°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#F0ED5E
RGBrgb(240, 237, 94)
HSLhsl(59, 83%, 65%)
HSVhsv(59, 61%, 94%)
CMYKcmyk(0%, 1.2%, 60.8%, 5.9%)
CIE-LABlab(91.64, -16.25, 67.50)
CIE-LCHlch(91.64, 69.42, 103.54°)
OKLaboklab(92.23% -0.0501 0.1538)
OKLCHoklch(92.23% 0.162 108)
XYZxyz(68.2419, 79.9038, 22.4157)
Luminance0.7990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0ED5E #5E61F0
analogous
#F0A45E #F0ED5E #AAF05E
triadic
#F0ED5E #5EF0ED #ED5EF0
tetradic
#F0ED5E #5EF0A4 #5E61F0 #F05EAA
square
#F0ED5E #5EF0A4 #5E61F0 #F05EAA
split-complementary
#F0ED5E #5EAAF0 #A45EF0
monochromatic
#C2BE12 #EBE726 #F0ED5E #F5F396 #FAFACE

Accessibility & contrast

On white

1.24
#F0ED5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#F0ED5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0ED5E
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0ED5E#FFFFFF#000000##000000
##F0ED5E1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44D
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0ed5e;
/* rgb */ color: rgb(240, 237, 94);
/* oklch */ color: oklch(92.2% 0.162 108.0);
Tailwind
colors: {
  custom: {
    50: '#f8f291',
    500: '#f0ed5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0ed5e;
$custom-light: #f8f291;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ed5e",
  "rgb": {
    "r": 240,
    "g": 237,
    "b": 94
  },
  "hsl": {
    "h": 58.767,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92234,
    "c": 0.16181,
    "h": 108
  },
  "luminance": 0.79902
}

Semantic roles & 50–950 ramp

primary
#F0ED5E
secondary
#3336BF
accent
#0BDF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F0ED5E

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

Preview Lab → · Contrast checker → · Palette generator →

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