#F0DF68#F0DF68

#F0DF68 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.140 H 101.3°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F0DF68
RGBrgb(240, 223, 104)
HSLhsl(53, 82%, 67%)
HSVhsv(53, 57%, 94%)
CMYKcmyk(0%, 7.1%, 56.7%, 5.9%)
CIE-LABlab(88.11, -8.65, 59.31)
CIE-LCHlch(88.11, 59.94, 98.30°)
OKLaboklab(89.46% -0.0274 0.1377)
OKLCHoklch(89.46% 0.14 101.3)
XYZxyz(64.8238, 72.3026, 23.6352)
Luminance0.7230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DF68 #6879F0
analogous
#F09B68 #F0DF68 #BDF068
triadic
#F0DF68 #68F0DF #DF68F0
tetradic
#F0DF68 #68F09B #6879F0 #F068BD
square
#F0DF68 #68F09B #6879F0 #F068BD
split-complementary
#F0DF68 #68BDF0 #9B68F0
monochromatic
#CAB314 #EAD330 #F0DF68 #F6EBA0 #FBF7D7

Accessibility & contrast

On white

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

On black

15.46
#F0DF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DF68
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DF68#FFFFFF#000000##000000
##F0DF681.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95C
Deuteranopia (green-blind)
#F6E06E
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f0df68;
/* rgb */ color: rgb(240, 223, 104);
/* oklch */ color: oklch(89.5% 0.140 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8e897',
    500: '#f0df68',
    950: '#000000',
  },
}
SCSS
$custom: #f0df68;
$custom-light: #f8e897;
$custom-dark: #000000;
JSON
{
  "hex": "#f0df68",
  "rgb": {
    "r": 240,
    "g": 223,
    "b": 104
  },
  "hsl": {
    "h": 52.5,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89457,
    "c": 0.14037,
    "h": 101.3
  },
  "luminance": 0.723
}

Semantic roles & 50–950 ramp

primary
#F0DF68
secondary
#3648C6
accent
#22DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DF68

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

Preview Lab → · Contrast checker → · Palette generator →

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