#F0C94D#F0C94D

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

Color values

HEX#F0C94D
RGBrgb(240, 201, 77)
HSLhsl(46, 84%, 62%)
HSVhsv(46, 68%, 94%)
CMYKcmyk(0%, 16.3%, 67.9%, 5.9%)
CIE-LABlab(82.29, 0.83, 64.59)
CIE-LCHlch(82.29, 64.60, 89.27°)
OKLaboklab(84.77% -0.0033 0.1452)
OKLCHoklch(84.77% 0.145 91.3)
XYZxyz(58.1644, 60.8378, 15.6990)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C94D #4D74F0
analogous
#F0784D #F0C94D #C6F04D
triadic
#F0C94D #4DF0C9 #C94DF0
tetradic
#F0C94D #4DF078 #4D74F0 #F04DC6
square
#F0C94D #4DF078 #4D74F0 #F04DC6
split-complementary
#F0C94D #4DC6F0 #784DF0
monochromatic
#B38C0F #EBB815 #F0C94D #F5DA85 #FAEBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0C94D#FFFFFF#000000##000000
##F0C94D1.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)
#DEC63D
Deuteranopia (green-blind)
#E8D153
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #f0c94d;
/* rgb */ color: rgb(240, 201, 77);
/* oklch */ color: oklch(84.8% 0.145 91.3);
Tailwind
colors: {
  custom: {
    50: '#f9d985',
    500: '#f0c94d',
    950: '#000000',
  },
}
SCSS
$custom: #f0c94d;
$custom-light: #f9d985;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c94d",
  "rgb": {
    "r": 240,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 45.644,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.14519,
    "h": 91.3
  },
  "luminance": 0.60834
}

Semantic roles & 50–950 ramp

primary
#F0C94D
secondary
#2E4EB3
accent
#39E105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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