#F0CD58#F0CD58

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

Color values

HEX#F0CD58
RGBrgb(240, 205, 88)
HSLhsl(46, 84%, 64%)
HSVhsv(46, 63%, 94%)
CMYKcmyk(0%, 14.6%, 63.3%, 5.9%)
CIE-LABlab(83.39, -0.60, 61.12)
CIE-LCHlch(83.39, 61.12, 90.56°)
OKLaboklab(85.67% -0.0061 0.1395)
OKLCHoklch(85.67% 0.14 92.5)
XYZxyz(59.5308, 62.8957, 18.2351)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD58 #587BF0
analogous
#F08158 #F0CD58 #C7F058
triadic
#F0CD58 #58F0CD #CD58F0
tetradic
#F0CD58 #58F081 #587BF0 #F058C7
square
#F0CD58 #58F081 #587BF0 #F058C7
split-complementary
#F0CD58 #58C7F0 #8158F0
monochromatic
#BD9511 #EBBC20 #F0CD58 #F5DE90 #FAEFC8

Accessibility & contrast

On white

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

On black

13.58
#F0CD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD58
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD58#FFFFFF#000000##000000
##F0CD581.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cd58;
/* rgb */ color: rgb(240, 205, 88);
/* oklch */ color: oklch(85.7% 0.140 92.5);
Tailwind
colors: {
  custom: {
    50: '#f8db8c',
    500: '#f0cd58',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd58;
$custom-light: #f8db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd58",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 46.184,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85667,
    "c": 0.13961,
    "h": 92.5
  },
  "luminance": 0.62892
}

Semantic roles & 50–950 ramp

primary
#F0CD58
secondary
#3151BB
accent
#38E006
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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