#F0CC5E#F0CC5E

#F0CC5E is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.5% C 0.134 H 91.2°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#F0CC5E
RGBrgb(240, 204, 94)
HSLhsl(45, 83%, 65%)
HSVhsv(45, 61%, 94%)
CMYKcmyk(0%, 15%, 60.8%, 5.9%)
CIE-LABlab(83.19, 0.30, 58.25)
CIE-LCHlch(83.19, 58.25, 89.70°)
OKLaboklab(85.53% -0.0028 0.1342)
OKLCHoklch(85.53% 0.134 91.2)
XYZxyz(59.5512, 62.5223, 19.5188)
Luminance0.6252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC5E #5E82F0
analogous
#F0835E #F0CC5E #CBF05E
triadic
#F0CC5E #5EF0CC #CC5EF0
tetradic
#F0CC5E #5EF083 #5E82F0 #F05ECB
square
#F0CC5E #5EF083 #5E82F0 #F05ECB
split-complementary
#F0CC5E #5ECBF0 #835EF0
monochromatic
#C29612 #EBBA26 #F0CC5E #F5DE96 #FAEFCE

Accessibility & contrast

On white

1.56
#F0CC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#F0CC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC5E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC5E#FFFFFF#000000##000000
##F0CC5E1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C952
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#FFBDB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cc5e;
/* rgb */ color: rgb(240, 204, 94);
/* oklch */ color: oklch(85.5% 0.134 91.2);
Tailwind
colors: {
  custom: {
    50: '#f8db8f',
    500: '#f0cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc5e;
$custom-light: #f8db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc5e",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 45.205,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8553,
    "c": 0.13421,
    "h": 91.2
  },
  "luminance": 0.62519
}

Semantic roles & 50–950 ramp

primary
#F0CC5E
secondary
#3355BF
accent
#3CDF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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