#F0CE5B#F0CE5B

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

Color values

HEX#F0CE5B
RGBrgb(240, 206, 91)
HSLhsl(46, 83%, 65%)
HSVhsv(46, 62%, 94%)
CMYKcmyk(0%, 14.2%, 62.1%, 5.9%)
CIE-LABlab(83.67, -0.92, 60.11)
CIE-LCHlch(83.67, 60.12, 90.88°)
OKLaboklab(85.9% -0.0067 0.1378)
OKLCHoklch(85.9% 0.138 92.8)
XYZxyz(59.8976, 63.4263, 18.9830)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE5B #5B7DF0
analogous
#F0845B #F0CE5B #C7F05B
triadic
#F0CE5B #5BF0CE #CE5BF0
tetradic
#F0CE5B #5BF084 #5B7DF0 #F05BC7
square
#F0CE5B #5BF084 #5B7DF0 #F05BC7
split-complementary
#F0CE5B #5BC7F0 #845BF0
monochromatic
#BF9711 #EBBD23 #F0CE5B #F5DF93 #FAF0CB

Accessibility & contrast

On white

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

On black

13.68
#F0CE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE5B
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE5B#FFFFFF#000000##000000
##F0CE5B1.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0ce5b;
/* rgb */ color: rgb(240, 206, 91);
/* oklch */ color: oklch(85.9% 0.138 92.8);
Tailwind
colors: {
  custom: {
    50: '#f8dc8e',
    500: '#f0ce5b',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce5b;
$custom-light: #f8dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce5b",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 46.309,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85896,
    "c": 0.13791,
    "h": 92.8
  },
  "luminance": 0.63423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0CE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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