#F0D658#F0D658

#F0D658 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.5% C 0.146 H 97.6°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#F0D658
RGBrgb(240, 214, 88)
HSLhsl(50, 84%, 64%)
HSVhsv(50, 63%, 94%)
CMYKcmyk(0%, 10.8%, 63.3%, 5.9%)
CIE-LABlab(85.67, -5.19, 63.58)
CIE-LCHlch(85.67, 63.79, 94.66°)
OKLaboklab(87.47% -0.0193 0.1447)
OKLCHoklch(87.47% 0.146 97.6)
XYZxyz(61.7459, 67.3259, 18.9734)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D658 #5872F0
analogous
#F08A58 #F0D658 #BEF058
triadic
#F0D658 #58F0D6 #D658F0
tetradic
#F0D658 #58F08A #5872F0 #F058BE
square
#F0D658 #58F08A #5872F0 #F058BE
split-complementary
#F0D658 #58BEF0 #8A58F0
monochromatic
#BD9F11 #EBC820 #F0D658 #F5E490 #FAF2C8

Accessibility & contrast

On white

1.45
#F0D658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#F0D658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D658
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D658#FFFFFF#000000##000000
##F0D6581.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD149
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d658;
/* rgb */ color: rgb(240, 214, 88);
/* oklch */ color: oklch(87.5% 0.146 97.6);
Tailwind
colors: {
  custom: {
    50: '#f8e28c',
    500: '#f0d658',
    950: '#000000',
  },
}
SCSS
$custom: #f0d658;
$custom-light: #f8e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d658",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 88
  },
  "hsl": {
    "h": 49.737,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87471,
    "c": 0.14599,
    "h": 97.6
  },
  "luminance": 0.67323
}

Semantic roles & 50–950 ramp

primary
#F0D658
secondary
#3149BB
accent
#2BE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D658

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

Preview Lab → · Contrast checker → · Palette generator →

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