#F0DB6D#F0DB6D

#F0DB6D is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.7% C 0.132 H 98.7°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#F0DB6D
RGBrgb(240, 219, 109)
HSLhsl(50, 81%, 68%)
HSVhsv(50, 55%, 94%)
CMYKcmyk(0%, 8.8%, 54.6%, 5.9%)
CIE-LABlab(87.14, -6.26, 55.92)
CIE-LCHlch(87.14, 56.27, 96.39°)
OKLaboklab(88.7% -0.02 0.1309)
OKLCHoklch(88.7% 0.132 98.7)
XYZxyz(64.0293, 70.2950, 24.6606)
Luminance0.7029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB6D #6D82F0
analogous
#F0996D #F0DB6D #C3F06D
triadic
#F0DB6D #6DF0DB #DB6DF0
tetradic
#F0DB6D #6DF099 #6D82F0 #F06DC3
square
#F0DB6D #6DF099 #6D82F0 #F06DC3
split-complementary
#F0DB6D #6DC3F0 #996DF0
monochromatic
#CDB015 #EACD36 #F0DB6D #F6E9A4 #FBF6DC

Accessibility & contrast

On white

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

On black

15.06
#F0DB6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB6D
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB6D#FFFFFF#000000##000000
##F0DB6D1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD662
Deuteranopia (green-blind)
#F3DE72
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db6d;
/* rgb */ color: rgb(240, 219, 109);
/* oklch */ color: oklch(88.7% 0.132 98.7);
Tailwind
colors: {
  custom: {
    50: '#f7e59a',
    500: '#f0db6d',
    950: '#000000',
  },
}
SCSS
$custom: #f0db6d;
$custom-light: #f7e59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db6d",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 109
  },
  "hsl": {
    "h": 50.382,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88702,
    "c": 0.13243,
    "h": 98.7
  },
  "luminance": 0.70292
}

Semantic roles & 50–950 ramp

primary
#F0DB6D
secondary
#3950C9
accent
#2ADE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DB6D

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

Preview Lab → · Contrast checker → · Palette generator →

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