#F0DA66#F0DA66

#F0DA66 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.4% C 0.138 H 98.7°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#F0DA66
RGBrgb(240, 218, 102)
HSLhsl(50, 82%, 67%)
HSVhsv(50, 58%, 94%)
CMYKcmyk(0%, 9.2%, 57.5%, 5.9%)
CIE-LABlab(86.82, -6.28, 58.73)
CIE-LCHlch(86.82, 59.07, 96.10°)
OKLaboklab(88.42% -0.0208 0.1362)
OKLCHoklch(88.42% 0.138 98.7)
XYZxyz(63.4073, 69.6301, 22.6678)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA66 #667CF0
analogous
#F09566 #F0DA66 #C1F066
triadic
#F0DA66 #66F0DA #DA66F0
tetradic
#F0DA66 #66F095 #667CF0 #F066C1
square
#F0DA66 #66F095 #667CF0 #F066C1
split-complementary
#F0DA66 #66C1F0 #9566F0
monochromatic
#C8AB14 #EBCD2E #F0DA66 #F5E79E #FBF5D5

Accessibility & contrast

On white

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

On black

14.93
#F0DA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA66
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA66#FFFFFF#000000##000000
##F0DA661.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0da66;
/* rgb */ color: rgb(240, 218, 102);
/* oklch */ color: oklch(88.4% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#f8e595',
    500: '#f0da66',
    950: '#000000',
  },
}
SCSS
$custom: #f0da66;
$custom-light: #f8e595;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da66",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 102
  },
  "hsl": {
    "h": 50.435,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8842,
    "c": 0.13778,
    "h": 98.7
  },
  "luminance": 0.69627
}

Semantic roles & 50–950 ramp

primary
#F0DA66
secondary
#354CC5
accent
#29DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DA66

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

Preview Lab → · Contrast checker → · Palette generator →

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