#F0DA60#F0DA60

#F0DA60 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.4% C 0.143 H 99.1°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F0DA60
RGBrgb(240, 218, 96)
HSLhsl(51, 83%, 66%)
HSVhsv(51, 60%, 94%)
CMYKcmyk(0%, 9.2%, 60%, 5.9%)
CIE-LABlab(86.76, -6.70, 61.33)
CIE-LCHlch(86.76, 61.69, 96.23°)
OKLaboklab(88.36% -0.0227 0.141)
OKLCHoklch(88.36% 0.143 99.1)
XYZxyz(63.1204, 69.5153, 21.1570)
Luminance0.6951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA60 #6076F0
analogous
#F09260 #F0DA60 #BEF060
triadic
#F0DA60 #60F0DA #DA60F0
tetradic
#F0DA60 #60F092 #6076F0 #F060BE
square
#F0DA60 #60F092 #6076F0 #F060BE
split-complementary
#F0DA60 #60BEF0 #9260F0
monochromatic
#C3A812 #EBCD28 #F0DA60 #F5E798 #FBF4D0

Accessibility & contrast

On white

1.41
#F0DA60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#F0DA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA60
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA60#FFFFFF#000000##000000
##F0DA601.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD553
Deuteranopia (green-blind)
#F3DD66
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0da60;
/* rgb */ color: rgb(240, 218, 96);
/* oklch */ color: oklch(88.4% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#f8e591',
    500: '#f0da60',
    950: '#000000',
  },
}
SCSS
$custom: #f0da60;
$custom-light: #f8e591;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da60",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 96
  },
  "hsl": {
    "h": 50.833,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.88357,
    "c": 0.14284,
    "h": 99.1
  },
  "luminance": 0.69513
}

Semantic roles & 50–950 ramp

primary
#F0DA60
secondary
#3349C1
accent
#27DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DA60

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

Preview Lab → · Contrast checker → · Palette generator →

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