#F0CD64#F0CD64

#F0CD64 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.8% C 0.130 H 91.0°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#F0CD64
RGBrgb(240, 205, 100)
HSLhsl(45, 82%, 67%)
HSVhsv(45, 58%, 94%)
CMYKcmyk(0%, 14.6%, 58.3%, 5.9%)
CIE-LABlab(83.50, 0.20, 55.87)
CIE-LCHlch(83.50, 55.87, 89.79°)
OKLaboklab(85.79% -0.0024 0.1298)
OKLCHoklch(85.79% 0.13 91)
XYZxyz(60.0694, 63.1111, 21.0718)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD64 #6487F0
analogous
#F08764 #F0CD64 #CDF064
triadic
#F0CD64 #64F0CD #CD64F0
tetradic
#F0CD64 #64F087 #6487F0 #F064CD
square
#F0CD64 #64F087 #6487F0 #F064CD
split-complementary
#F0CD64 #64CDF0 #8764F0
monochromatic
#C69A13 #EBBB2C #F0CD64 #F5DF9C #FBF1D4

Accessibility & contrast

On white

1.54
#F0CD64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.62
#F0CD64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD64
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD64#FFFFFF#000000##000000
##F0CD641.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA5A
Deuteranopia (green-blind)
#E9D468
Tritanopia (blue-blind)
#FFBFB6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cd64;
/* rgb */ color: rgb(240, 205, 100);
/* oklch */ color: oklch(85.8% 0.130 91.0);
Tailwind
colors: {
  custom: {
    50: '#f8dc93',
    500: '#f0cd64',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd64;
$custom-light: #f8dc93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd64",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 100
  },
  "hsl": {
    "h": 45,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85793,
    "c": 0.12983,
    "h": 91
  },
  "luminance": 0.63108
}

Semantic roles & 50–950 ramp

primary
#F0CD64
secondary
#3558C4
accent
#3DDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CD64

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

Preview Lab → · Contrast checker → · Palette generator →

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