#F0D758#F0D758

#F0D758 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.147 H 98.1°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#F0D758
RGBrgb(240, 215, 88)
HSLhsl(50, 84%, 64%)
HSVhsv(50, 63%, 94%)
CMYKcmyk(0%, 10.4%, 63.3%, 5.9%)
CIE-LABlab(85.92, -5.69, 63.85)
CIE-LCHlch(85.92, 64.11, 95.09°)
OKLaboklab(87.67% -0.0207 0.1453)
OKLCHoklch(87.67% 0.147 98.1)
XYZxyz(61.9998, 67.8336, 19.0581)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D758 #5871F0
analogous
#F08B58 #F0D758 #BDF058
triadic
#F0D758 #58F0D7 #D758F0
tetradic
#F0D758 #58F08B #5871F0 #F058BD
square
#F0D758 #58F08B #5871F0 #F058BD
split-complementary
#F0D758 #58BDF0 #8B58F0
monochromatic
#BDA011 #EBCA20 #F0D758 #F5E490 #FAF2C8

Accessibility & contrast

On white

1.44
#F0D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#F0D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D758
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D758#FFFFFF#000000##000000
##F0D7581.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD249
Deuteranopia (green-blind)
#F1DB5F
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d758;
/* rgb */ color: rgb(240, 215, 88);
/* oklch */ color: oklch(87.7% 0.147 98.1);
Tailwind
colors: {
  custom: {
    50: '#f8e38c',
    500: '#f0d758',
    950: '#000000',
  },
}
SCSS
$custom: #f0d758;
$custom-light: #f8e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d758",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 50.132,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87673,
    "c": 0.14676,
    "h": 98.1
  },
  "luminance": 0.67831
}

Semantic roles & 50–950 ramp

primary
#F0D758
secondary
#3148BB
accent
#29E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D758

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

Preview Lab → · Contrast checker → · Palette generator →

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