#F0DB68#F0DB68

#F0DB68 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.6% C 0.137 H 99.1°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#F0DB68
RGBrgb(240, 219, 104)
HSLhsl(51, 82%, 67%)
HSVhsv(51, 57%, 94%)
CMYKcmyk(0%, 8.8%, 56.7%, 5.9%)
CIE-LABlab(87.09, -6.64, 58.14)
CIE-LCHlch(87.09, 58.52, 96.51°)
OKLaboklab(88.65% -0.0216 0.1352)
OKLCHoklch(88.65% 0.137 99.1)
XYZxyz(63.7677, 70.1904, 23.2832)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB68 #687DF0
analogous
#F09768 #F0DB68 #C1F068
triadic
#F0DB68 #68F0DB #DB68F0
tetradic
#F0DB68 #68F097 #687DF0 #F068C1
square
#F0DB68 #68F097 #687DF0 #F068C1
split-complementary
#F0DB68 #68C1F0 #9768F0
monochromatic
#CAAE14 #EACE30 #F0DB68 #F6E8A0 #FBF6D7

Accessibility & contrast

On white

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

On black

15.04
#F0DB68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB68
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB68#FFFFFF#000000##000000
##F0DB681.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0db68;
/* rgb */ color: rgb(240, 219, 104);
/* oklch */ color: oklch(88.6% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#f8e597',
    500: '#f0db68',
    950: '#000000',
  },
}
SCSS
$custom: #f0db68;
$custom-light: #f8e597;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db68",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 104
  },
  "hsl": {
    "h": 50.735,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88645,
    "c": 0.13689,
    "h": 99.1
  },
  "luminance": 0.70188
}

Semantic roles & 50–950 ramp

primary
#F0DB68
secondary
#364CC6
accent
#28DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DB68

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

Preview Lab → · Contrast checker → · Palette generator →

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