#F0D760#F0D760

#F0D760 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.8% C 0.140 H 97.5°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F0D760
RGBrgb(240, 215, 96)
HSLhsl(50, 83%, 66%)
HSVhsv(50, 60%, 94%)
CMYKcmyk(0%, 10.4%, 60%, 5.9%)
CIE-LABlab(85.99, -5.18, 60.48)
CIE-LCHlch(85.99, 60.70, 94.90°)
OKLaboklab(87.75% -0.0184 0.1392)
OKLCHoklch(87.75% 0.14 97.5)
XYZxyz(62.3495, 67.9735, 20.9001)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D760 #6079F0
analogous
#F08F60 #F0D760 #C1F060
triadic
#F0D760 #60F0D7 #D760F0
tetradic
#F0D760 #60F08F #6079F0 #F060C1
square
#F0D760 #60F08F #6079F0 #F060C1
split-complementary
#F0D760 #60C1F0 #8F60F0
monochromatic
#C3A412 #EBC928 #F0D760 #F5E598 #FBF3D0

Accessibility & contrast

On white

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

On black

14.59
#F0D760 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D760
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D760#FFFFFF#000000##000000
##F0D7601.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#F1DB66
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d760;
/* rgb */ color: rgb(240, 215, 96);
/* oklch */ color: oklch(87.8% 0.140 97.5);
Tailwind
colors: {
  custom: {
    50: '#f8e391',
    500: '#f0d760',
    950: '#000000',
  },
}
SCSS
$custom: #f0d760;
$custom-light: #f8e391;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d760",
  "rgb": {
    "r": 240,
    "g": 215,
    "b": 96
  },
  "hsl": {
    "h": 49.583,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87751,
    "c": 0.14041,
    "h": 97.5
  },
  "luminance": 0.67971
}

Semantic roles & 50–950 ramp

primary
#F0D760
secondary
#334CC1
accent
#2CDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D760

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

Preview Lab → · Contrast checker → · Palette generator →

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