#F0CE5D#F0CE5D

#F0CE5D is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.9% C 0.136 H 92.6°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#F0CE5D
RGBrgb(240, 206, 93)
HSLhsl(46, 83%, 65%)
HSVhsv(46, 61%, 94%)
CMYKcmyk(0%, 14.2%, 61.2%, 5.9%)
CIE-LABlab(83.68, -0.79, 59.24)
CIE-LCHlch(83.68, 59.25, 90.77°)
OKLaboklab(85.92% -0.0061 0.1362)
OKLCHoklch(85.92% 0.136 92.6)
XYZxyz(59.9850, 63.4613, 19.4435)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE5D #5D7FF0
analogous
#F0845D #F0CE5D #C9F05D
triadic
#F0CE5D #5DF0CE #CE5DF0
tetradic
#F0CE5D #5DF084 #5D7FF0 #F05DC9
square
#F0CE5D #5DF084 #5D7FF0 #F05DC9
split-complementary
#F0CE5D #5DC9F0 #845DF0
monochromatic
#C19812 #EBBD25 #F0CE5D #F5DF95 #FAF0CD

Accessibility & contrast

On white

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

On black

13.69
#F0CE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE5D
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE5D#FFFFFF#000000##000000
##F0CE5D1.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB51
Deuteranopia (green-blind)
#EAD562
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0ce5d;
/* rgb */ color: rgb(240, 206, 93);
/* oklch */ color: oklch(85.9% 0.136 92.6);
Tailwind
colors: {
  custom: {
    50: '#f8dc8f',
    500: '#f0ce5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce5d;
$custom-light: #f8dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce5d",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 93
  },
  "hsl": {
    "h": 46.122,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85917,
    "c": 0.13632,
    "h": 92.6
  },
  "luminance": 0.63458
}

Semantic roles & 50–950 ramp

primary
#F0CE5D
secondary
#3253BF
accent
#38DF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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