#F0EF5E#F0EF5E

#F0EF5E is a very light, vivid yellow. Relative luminance 0.811; OKLCH L 92.6% C 0.164 H 108.8°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F0EF5E
RGBrgb(240, 239, 94)
HSLhsl(60, 83%, 65%)
HSVhsv(60, 61%, 94%)
CMYKcmyk(0%, 0.4%, 60.8%, 5.9%)
CIE-LABlab(92.16, -17.23, 68.05)
CIE-LCHlch(92.16, 70.20, 104.20°)
OKLaboklab(92.65% -0.0529 0.155)
OKLCHoklch(92.65% 0.164 108.8)
XYZxyz(68.8242, 81.0684, 22.6098)
Luminance0.8107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF5E #5E5FF0
analogous
#F0A65E #F0EF5E #A8F05E
triadic
#F0EF5E #5EF0EF #EF5EF0
tetradic
#F0EF5E #5EF0A6 #5E5FF0 #F05EA8
square
#F0EF5E #5EF0A6 #5E5FF0 #F05EA8
split-complementary
#F0EF5E #5EA8F0 #A65EF0
monochromatic
#C2C012 #EBE926 #F0EF5E #F5F596 #FAFACE

Accessibility & contrast

On white

1.22
#F0EF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#F0EF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF5E
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF5E#FFFFFF#000000##000000
##F0EF5E1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64C
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0ef5e;
/* rgb */ color: rgb(240, 239, 94);
/* oklch */ color: oklch(92.6% 0.164 108.8);
Tailwind
colors: {
  custom: {
    50: '#f8f492',
    500: '#f0ef5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef5e;
$custom-light: #f8f492;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef5e",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 94
  },
  "hsl": {
    "h": 59.589,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.92649,
    "c": 0.1638,
    "h": 108.8
  },
  "luminance": 0.81066
}

Semantic roles & 50–950 ramp

primary
#F0EF5E
secondary
#3334BF
accent
#08DF06
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0EF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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