#F0CD5A#F0CD5A

#F0CD5A is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.7% C 0.138 H 92.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#F0CD5A
RGBrgb(240, 205, 90)
HSLhsl(46, 83%, 65%)
HSVhsv(46, 63%, 94%)
CMYKcmyk(0%, 14.6%, 62.5%, 5.9%)
CIE-LABlab(83.41, -0.47, 60.26)
CIE-LCHlch(83.41, 60.26, 90.45°)
OKLaboklab(85.69% -0.0055 0.1379)
OKLCHoklch(85.69% 0.138 92.3)
XYZxyz(59.6148, 62.9293, 18.6774)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD5A #5A7DF0
analogous
#F0825A #F0CD5A #C8F05A
triadic
#F0CD5A #5AF0CD #CD5AF0
tetradic
#F0CD5A #5AF082 #5A7DF0 #F05AC8
square
#F0CD5A #5AF082 #5A7DF0 #F05AC8
split-complementary
#F0CD5A #5AC8F0 #825AF0
monochromatic
#BE9611 #EBBC22 #F0CD5A #F5DE92 #FAEFCA

Accessibility & contrast

On white

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

On black

13.59
#F0CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD5A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD5A#FFFFFF#000000##000000
##F0CD5A1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cd5a;
/* rgb */ color: rgb(240, 205, 90);
/* oklch */ color: oklch(85.7% 0.138 92.3);
Tailwind
colors: {
  custom: {
    50: '#f8db8d',
    500: '#f0cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd5a;
$custom-light: #f8db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd5a",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 46,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85687,
    "c": 0.13805,
    "h": 92.3
  },
  "luminance": 0.62926
}

Semantic roles & 50–950 ramp

primary
#F0CD5A
secondary
#3252BD
accent
#39E006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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