#F0C94E#F0C94E

#F0C94E is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.8% C 0.144 H 91.2°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#F0C94E
RGBrgb(240, 201, 78)
HSLhsl(46, 84%, 62%)
HSVhsv(46, 68%, 94%)
CMYKcmyk(0%, 16.3%, 67.5%, 5.9%)
CIE-LABlab(82.30, 0.88, 64.19)
CIE-LCHlch(82.30, 64.20, 89.21°)
OKLaboklab(84.78% -0.003 0.1445)
OKLCHoklch(84.78% 0.144 91.2)
XYZxyz(58.2000, 60.8520, 15.8864)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C94E #4E75F0
analogous
#F0784E #F0C94E #C6F04E
triadic
#F0C94E #4EF0C9 #C94EF0
tetradic
#F0C94E #4EF078 #4E75F0 #F04EC6
square
#F0C94E #4EF078 #4E75F0 #F04EC6
split-complementary
#F0C94E #4EC6F0 #784EF0
monochromatic
#B48D0F #EBB816 #F0C94E #F5DA86 #FAEBBF

Accessibility & contrast

On white

1.59
#F0C94E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#F0C94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C94E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C94E#FFFFFF#000000##000000
##F0C94E1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC63E
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c94e;
/* rgb */ color: rgb(240, 201, 78);
/* oklch */ color: oklch(84.8% 0.144 91.2);
Tailwind
colors: {
  custom: {
    50: '#f9d985',
    500: '#f0c94e',
    950: '#000000',
  },
}
SCSS
$custom: #f0c94e;
$custom-light: #f9d985;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c94e",
  "rgb": {
    "r": 240,
    "g": 201,
    "b": 78
  },
  "hsl": {
    "h": 45.556,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84782,
    "c": 0.14449,
    "h": 91.2
  },
  "luminance": 0.60849
}

Semantic roles & 50–950 ramp

primary
#F0C94E
secondary
#2E4EB4
accent
#3AE105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C94E

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

Preview Lab → · Contrast checker → · Palette generator →

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