#F0DB66#F0DB66

#F0DB66 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.139 H 99.2°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#F0DB66
RGBrgb(240, 219, 102)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 58%, 94%)
CMYKcmyk(0%, 8.8%, 57.5%, 5.9%)
CIE-LABlab(87.07, -6.78, 59.02)
CIE-LCHlch(87.07, 59.41, 96.56°)
OKLaboklab(88.62% -0.0223 0.1368)
OKLCHoklch(88.62% 0.139 99.2)
XYZxyz(63.6674, 70.1502, 22.7545)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB66 #667BF0
analogous
#F09666 #F0DB66 #C0F066
triadic
#F0DB66 #66F0DB #DB66F0
tetradic
#F0DB66 #66F096 #667BF0 #F066C0
square
#F0DB66 #66F096 #667BF0 #F066C0
split-complementary
#F0DB66 #66C0F0 #9666F0
monochromatic
#C8AD14 #EBCE2E #F0DB66 #F5E89E #FBF5D5

Accessibility & contrast

On white

1.40
#F0DB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#F0DB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB66
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB66#FFFFFF#000000##000000
##F0DB661.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65A
Deuteranopia (green-blind)
#F3DD6C
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db66;
/* rgb */ color: rgb(240, 219, 102);
/* oklch */ color: oklch(88.6% 0.139 99.2);
Tailwind
colors: {
  custom: {
    50: '#f8e595',
    500: '#f0db66',
    950: '#000000',
  },
}
SCSS
$custom: #f0db66;
$custom-light: #f8e595;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db66",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 102
  },
  "hsl": {
    "h": 50.87,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88623,
    "c": 0.13862,
    "h": 99.2
  },
  "luminance": 0.70148
}

Semantic roles & 50–950 ramp

primary
#F0DB66
secondary
#354BC5
accent
#28DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DB66

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

Preview Lab → · Contrast checker → · Palette generator →

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