#F0C84E#F0C84E

#F0C84E is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.6% C 0.144 H 90.6°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#F0C84E
RGBrgb(240, 200, 78)
HSLhsl(45, 84%, 62%)
HSVhsv(45, 68%, 94%)
CMYKcmyk(0%, 16.7%, 67.5%, 5.9%)
CIE-LABlab(82.05, 1.40, 63.93)
CIE-LCHlch(82.05, 63.95, 88.75°)
OKLaboklab(84.58% -0.0015 0.1439)
OKLCHoklch(84.58% 0.144 90.6)
XYZxyz(57.9677, 60.3873, 15.8089)
Luminance0.6038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0C84E #4E76F0
analogous
#F0774E #F0C84E #C7F04E
triadic
#F0C84E #4EF0C8 #C84EF0
tetradic
#F0C84E #4EF077 #4E76F0 #F04EC7
square
#F0C84E #4EF077 #4E76F0 #F04EC7
split-complementary
#F0C84E #4EC7F0 #774EF0
monochromatic
#B48C0F #EBB616 #F0C84E #F5DA86 #FAEBBF

Accessibility & contrast

On white

1.61
#F0C84E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#F0C84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0C84E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0C84E#FFFFFF#000000##000000
##F0C84E1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53F
Deuteranopia (green-blind)
#E7D154
Tritanopia (blue-blind)
#FFB8AF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #f0c84e;
/* rgb */ color: rgb(240, 200, 78);
/* oklch */ color: oklch(84.6% 0.144 90.6);
Tailwind
colors: {
  custom: {
    50: '#f9d885',
    500: '#f0c84e',
    950: '#000000',
  },
}
SCSS
$custom: #f0c84e;
$custom-light: #f9d885;
$custom-dark: #000000;
JSON
{
  "hex": "#f0c84e",
  "rgb": {
    "r": 240,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 45.185,
    "s": 84.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84584,
    "c": 0.14392,
    "h": 90.6
  },
  "luminance": 0.60384
}

Semantic roles & 50–950 ramp

primary
#F0C84E
secondary
#2E4FB4
accent
#3BE105
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F0C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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