#F0DC65#F0DC65

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

Color values

HEX#F0DC65
RGBrgb(240, 220, 101)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 58%, 94%)
CMYKcmyk(0%, 8.3%, 57.9%, 5.9%)
CIE-LABlab(87.32, -7.36, 59.75)
CIE-LCHlch(87.32, 60.20, 97.02°)
OKLaboklab(88.82% -0.024 0.1383)
OKLCHoklch(88.82% 0.14 99.9)
XYZxyz(63.8797, 70.6539, 22.5821)
Luminance0.7065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC65 #6579F0
analogous
#F09765 #F0DC65 #BFF065
triadic
#F0DC65 #65F0DC #DC65F0
tetradic
#F0DC65 #65F097 #6579F0 #F065BF
square
#F0DC65 #65F097 #6579F0 #F065BF
split-complementary
#F0DC65 #65BFF0 #9765F0
monochromatic
#C7AD13 #EBCF2D #F0DC65 #F5E99D #FBF5D5

Accessibility & contrast

On white

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

On black

15.13
#F0DC65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC65
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC65#FFFFFF#000000##000000
##F0DC651.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0dc65;
/* rgb */ color: rgb(240, 220, 101);
/* oklch */ color: oklch(88.8% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#f8e695',
    500: '#f0dc65',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc65;
$custom-light: #f8e695;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc65",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 101
  },
  "hsl": {
    "h": 51.367,
    "s": 82.249,
    "l": 66.863
  },
  "oklch": {
    "l": 0.88815,
    "c": 0.14033,
    "h": 99.9
  },
  "luminance": 0.70651
}

Semantic roles & 50–950 ramp

primary
#F0DC65
secondary
#354AC4
accent
#26DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DC65

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

Preview Lab → · Contrast checker → · Palette generator →

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