#F0DC68#F0DC68

#F0DC68 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.8% C 0.138 H 99.6°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#F0DC68
RGBrgb(240, 220, 104)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 57%, 94%)
CMYKcmyk(0%, 8.3%, 56.7%, 5.9%)
CIE-LABlab(87.35, -7.14, 58.44)
CIE-LCHlch(87.35, 58.87, 96.97°)
OKLaboklab(88.85% -0.0231 0.1358)
OKLCHoklch(88.85% 0.138 99.6)
XYZxyz(64.0294, 70.7137, 23.3704)
Luminance0.7071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC68 #687CF0
analogous
#F09868 #F0DC68 #C0F068
triadic
#F0DC68 #68F0DC #DC68F0
tetradic
#F0DC68 #68F098 #687CF0 #F068C0
square
#F0DC68 #68F098 #687CF0 #F068C0
split-complementary
#F0DC68 #68C0F0 #9868F0
monochromatic
#CAAF14 #EACF30 #F0DC68 #F6E9A0 #FBF6D7

Accessibility & contrast

On white

1.39
#F0DC68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#F0DC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC68
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC68#FFFFFF#000000##000000
##F0DC681.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED75C
Deuteranopia (green-blind)
#F4DE6E
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dc68;
/* rgb */ color: rgb(240, 220, 104);
/* oklch */ color: oklch(88.8% 0.138 99.6);
Tailwind
colors: {
  custom: {
    50: '#f8e697',
    500: '#f0dc68',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc68;
$custom-light: #f8e697;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc68",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 104
  },
  "hsl": {
    "h": 51.176,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88847,
    "c": 0.13774,
    "h": 99.6
  },
  "luminance": 0.70711
}

Semantic roles & 50–950 ramp

primary
#F0DC68
secondary
#364BC6
accent
#27DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DC68

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

Preview Lab → · Contrast checker → · Palette generator →

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