#F0CE5C#F0CE5C

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

Color values

HEX#F0CE5C
RGBrgb(240, 206, 92)
HSLhsl(46, 83%, 65%)
HSVhsv(46, 62%, 94%)
CMYKcmyk(0%, 14.2%, 61.7%, 5.9%)
CIE-LABlab(83.68, -0.86, 59.68)
CIE-LCHlch(83.68, 59.68, 90.82°)
OKLaboklab(85.91% -0.0064 0.137)
OKLCHoklch(85.91% 0.137 92.7)
XYZxyz(59.9410, 63.4437, 19.2118)
Luminance0.6344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE5C #5C7EF0
analogous
#F0845C #F0CE5C #C8F05C
triadic
#F0CE5C #5CF0CE #CE5CF0
tetradic
#F0CE5C #5CF084 #5C7EF0 #F05CC8
square
#F0CE5C #5CF084 #5C7EF0 #F05CC8
split-complementary
#F0CE5C #5CC8F0 #845CF0
monochromatic
#C09812 #EBBD24 #F0CE5C #F5DF94 #FAF0CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CE5C#FFFFFF#000000##000000
##F0CE5C1.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)
#E2CB50
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0ce5c;
/* rgb */ color: rgb(240, 206, 92);
/* oklch */ color: oklch(85.9% 0.137 92.7);
Tailwind
colors: {
  custom: {
    50: '#f8dc8e',
    500: '#f0ce5c',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce5c;
$custom-light: #f8dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce5c",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 92
  },
  "hsl": {
    "h": 46.216,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85906,
    "c": 0.13712,
    "h": 92.7
  },
  "luminance": 0.63441
}

Semantic roles & 50–950 ramp

primary
#F0CE5C
secondary
#3252BE
accent
#38E006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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