#F0CE62#F0CE62

#F0CE62 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 86.0% C 0.132 H 92.0°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#F0CE62
RGBrgb(240, 206, 98)
HSLhsl(46, 83%, 66%)
HSVhsv(46, 59%, 94%)
CMYKcmyk(0%, 14.2%, 59.2%, 5.9%)
CIE-LABlab(83.73, -0.45, 57.05)
CIE-LCHlch(83.73, 57.05, 90.46°)
OKLaboklab(85.97% -0.0045 0.1321)
OKLCHoklch(85.97% 0.132 92)
XYZxyz(60.2138, 63.5528, 20.6482)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE62 #6284F0
analogous
#F08762 #F0CE62 #CBF062
triadic
#F0CE62 #62F0CE #CE62F0
tetradic
#F0CE62 #62F087 #6284F0 #F062CB
square
#F0CE62 #62F087 #6284F0 #F062CB
split-complementary
#F0CE62 #62CBF0 #8762F0
monochromatic
#C59A13 #EBBD2A #F0CE62 #F5DF9A #FBF1D2

Accessibility & contrast

On white

1.53
#F0CE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#F0CE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE62
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE62#FFFFFF#000000##000000
##F0CE621.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0ce62;
/* rgb */ color: rgb(240, 206, 98);
/* oklch */ color: oklch(86.0% 0.132 92.0);
Tailwind
colors: {
  custom: {
    50: '#f8dc92',
    500: '#f0ce62',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce62;
$custom-light: #f8dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce62",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 98
  },
  "hsl": {
    "h": 45.634,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8597,
    "c": 0.13219,
    "h": 92
  },
  "luminance": 0.6355
}

Semantic roles & 50–950 ramp

primary
#F0CE62
secondary
#3456C2
accent
#3ADF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CE62

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

Preview Lab → · Contrast checker → · Palette generator →

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