#F0DF66#F0DF66

#F0DF66 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.4% C 0.142 H 101.4°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F0DF66
RGBrgb(240, 223, 102)
HSLhsl(53, 82%, 67%)
HSVhsv(53, 58%, 94%)
CMYKcmyk(0%, 7.1%, 57.5%, 5.9%)
CIE-LABlab(88.09, -8.79, 60.18)
CIE-LCHlch(88.09, 60.82, 98.31°)
OKLaboklab(89.44% -0.028 0.1393)
OKLCHoklch(89.44% 0.142 101.4)
XYZxyz(64.7234, 72.2624, 23.1065)
Luminance0.7226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF66 #6677F0
analogous
#F09A66 #F0DF66 #BCF066
triadic
#F0DF66 #66F0DF #DF66F0
tetradic
#F0DF66 #66F09A #6677F0 #F066BC
square
#F0DF66 #66F09A #6677F0 #F066BC
split-complementary
#F0DF66 #66BCF0 #9A66F0
monochromatic
#C8B214 #EBD32E #F0DF66 #F5EB9E #FBF6D5

Accessibility & contrast

On white

1.36
#F0DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#F0DF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF66
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF66#FFFFFF#000000##000000
##F0DF661.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D959
Deuteranopia (green-blind)
#F6E06C
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df66;
/* rgb */ color: rgb(240, 223, 102);
/* oklch */ color: oklch(89.4% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#f8e895',
    500: '#f0df66',
    950: '#000000',
  },
}
SCSS
$custom: #f0df66;
$custom-light: #f8e895;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df66",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 102
  },
  "hsl": {
    "h": 52.609,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89435,
    "c": 0.14209,
    "h": 101.4
  },
  "luminance": 0.7226
}

Semantic roles & 50–950 ramp

primary
#F0DF66
secondary
#3547C5
accent
#22DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DF66

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

Preview Lab → · Contrast checker → · Palette generator →

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