#F0DD68#F0DD68

#F0DD68 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.0% C 0.139 H 100.2°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#F0DD68
RGBrgb(240, 221, 104)
HSLhsl(52, 82%, 67%)
HSVhsv(52, 57%, 94%)
CMYKcmyk(0%, 7.9%, 56.7%, 5.9%)
CIE-LABlab(87.60, -7.65, 58.73)
CIE-LCHlch(87.60, 59.22, 97.42°)
OKLaboklab(89.05% -0.0245 0.1364)
OKLCHoklch(89.05% 0.139 100.2)
XYZxyz(64.2926, 71.2402, 23.4581)
Luminance0.7124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD68 #687BF0
analogous
#F09968 #F0DD68 #BFF068
triadic
#F0DD68 #68F0DD #DD68F0
tetradic
#F0DD68 #68F099 #687BF0 #F068BF
square
#F0DD68 #68F099 #687BF0 #F068BF
split-complementary
#F0DD68 #68BFF0 #9968F0
monochromatic
#CAB014 #EAD030 #F0DD68 #F6EAA0 #FBF6D7

Accessibility & contrast

On white

1.38
#F0DD68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#F0DD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD68
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD68#FFFFFF#000000##000000
##F0DD681.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75C
Deuteranopia (green-blind)
#F5DF6E
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0dd68;
/* rgb */ color: rgb(240, 221, 104);
/* oklch */ color: oklch(89.0% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#f8e797',
    500: '#f0dd68',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd68;
$custom-light: #f8e797;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd68",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 104
  },
  "hsl": {
    "h": 51.618,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8905,
    "c": 0.13861,
    "h": 100.2
  },
  "luminance": 0.71238
}

Semantic roles & 50–950 ramp

primary
#F0DD68
secondary
#364AC6
accent
#25DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F0DD68

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

Preview Lab → · Contrast checker → · Palette generator →

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