#F0CE4F#F0CE4F

#F0CE4F is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.8% C 0.147 H 94.0°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#F0CE4F
RGBrgb(240, 206, 79)
HSLhsl(47, 84%, 63%)
HSVhsv(47, 67%, 94%)
CMYKcmyk(0%, 14.2%, 67.1%, 5.9%)
CIE-LABlab(83.57, -1.63, 65.10)
CIE-LCHlch(83.57, 65.12, 91.44°)
OKLaboklab(85.79% -0.0101 0.1466)
OKLCHoklch(85.79% 0.147 94)
XYZxyz(59.4207, 63.2356, 16.4715)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE4F #4F71F0
analogous
#F07D4F #F0CE4F #C2F04F
triadic
#F0CE4F #4FF0CE #CE4FF0
tetradic
#F0CE4F #4FF07D #4F71F0 #F04FC2
square
#F0CE4F #4FF07D #4F71F0 #F04FC2
split-complementary
#F0CE4F #4FC2F0 #7D4FF0
monochromatic
#B5920F #EBBE17 #F0CE4F #F5DE87 #FAEDC0

Accessibility & contrast

On white

1.54
#F0CE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#F0CE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE4F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE4F#FFFFFF#000000##000000
##F0CE4F1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3F
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0ce4f;
/* rgb */ color: rgb(240, 206, 79);
/* oklch */ color: oklch(85.8% 0.147 94.0);
Tailwind
colors: {
  custom: {
    50: '#f9dc86',
    500: '#f0ce4f',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce4f;
$custom-light: #f9dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce4f",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 79
  },
  "hsl": {
    "h": 47.329,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85785,
    "c": 0.1469,
    "h": 94
  },
  "luminance": 0.63232
}

Semantic roles & 50–950 ramp

primary
#F0CE4F
secondary
#2F4BB5
accent
#33E105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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