#F0CD56#F0CD56

#F0CD56 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.6% C 0.141 H 92.7°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#F0CD56
RGBrgb(240, 205, 86)
HSLhsl(46, 84%, 64%)
HSVhsv(46, 64%, 94%)
CMYKcmyk(0%, 14.6%, 64.2%, 5.9%)
CIE-LABlab(83.37, -0.72, 61.96)
CIE-LCHlch(83.37, 61.96, 90.66°)
OKLaboklab(85.65% -0.0067 0.141)
OKLCHoklch(85.65% 0.141 92.7)
XYZxyz(59.4491, 62.8630, 17.8047)
Luminance0.6286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD56 #5679F0
analogous
#F08056 #F0CD56 #C6F056
triadic
#F0CD56 #56F0CD #CD56F0
tetradic
#F0CD56 #56F080 #5679F0 #F056C6
square
#F0CD56 #56F080 #5679F0 #F056C6
split-complementary
#F0CD56 #56C6F0 #8056F0
monochromatic
#BB9411 #EBBC1E #F0CD56 #F5DE8E #FAEEC6

Accessibility & contrast

On white

1.55
#F0CD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#F0CD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD56
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD56#FFFFFF#000000##000000
##F0CD561.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA48
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cd56;
/* rgb */ color: rgb(240, 205, 86);
/* oklch */ color: oklch(85.6% 0.141 92.7);
Tailwind
colors: {
  custom: {
    50: '#f9db8b',
    500: '#f0cd56',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd56;
$custom-light: #f9db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd56",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 86
  },
  "hsl": {
    "h": 46.364,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85648,
    "c": 0.14114,
    "h": 92.7
  },
  "luminance": 0.6286
}

Semantic roles & 50–950 ramp

primary
#F0CD56
secondary
#3050BA
accent
#37E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CD56

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

Preview Lab → · Contrast checker → · Palette generator →

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