#F0EF7A#F0EF7A

#F0EF7A is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.9% C 0.140 H 108.4°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#F0EF7A
RGBrgb(240, 239, 122)
HSLhsl(59, 80%, 71%)
HSVhsv(59, 49%, 94%)
CMYKcmyk(0%, 0.4%, 49.2%, 5.9%)
CIE-LABlab(92.43, -15.14, 56.13)
CIE-LCHlch(92.43, 58.14, 105.10°)
OKLaboklab(92.95% -0.0441 0.1326)
OKLCHoklch(92.95% 0.14 108.4)
XYZxyz(70.3162, 81.6651, 30.4674)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0EF7A #7A7BF0
analogous
#F0B47A #F0EF7A #B6F07A
triadic
#F0EF7A #7AF0EF #EF7AF0
tetradic
#F0EF7A #7AF0B4 #7A7BF0 #F07AB6
square
#F0EF7A #7AF0B4 #7A7BF0 #F07AB6
split-complementary
#F0EF7A #7AB6F0 #B47AF0
monochromatic
#D7D618 #EAE843 #F0EF7A #F6F6B1 #FCFCE4

Accessibility & contrast

On white

1.21
#F0EF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#F0EF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0EF7A
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0EF7A#FFFFFF#000000##000000
##F0EF7A1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FEE2D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f0ef7a;
/* rgb */ color: rgb(240, 239, 122);
/* oklch */ color: oklch(92.9% 0.140 108.4);
Tailwind
colors: {
  custom: {
    50: '#f7f4a3',
    500: '#f0ef7a',
    950: '#000000',
  },
}
SCSS
$custom: #f0ef7a;
$custom-light: #f7f4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ef7a",
  "rgb": {
    "r": 240,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 59.492,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92945,
    "c": 0.13974,
    "h": 108.4
  },
  "luminance": 0.81663
}

Semantic roles & 50–950 ramp

primary
#F0EF7A
secondary
#4445CA
accent
#0BDC09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0EF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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