#F0DB6E#F0DB6E

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

Color values

HEX#F0DB6E
RGBrgb(240, 219, 110)
HSLhsl(50, 81%, 69%)
HSVhsv(50, 54%, 94%)
CMYKcmyk(0%, 8.8%, 54.2%, 5.9%)
CIE-LABlab(87.15, -6.18, 55.47)
CIE-LCHlch(87.15, 55.81, 96.36°)
OKLaboklab(88.71% -0.0197 0.13)
OKLCHoklch(88.71% 0.132 98.6)
XYZxyz(64.0834, 70.3167, 24.9457)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB6E #6E83F0
analogous
#F09A6E #F0DB6E #C4F06E
triadic
#F0DB6E #6EF0DB #DB6EF0
tetradic
#F0DB6E #6EF09A #6E83F0 #F06EC4
square
#F0DB6E #6EF09A #6E83F0 #F06EC4
split-complementary
#F0DB6E #6EC4F0 #9A6EF0
monochromatic
#CEB015 #EACD37 #F0DB6E #F6E9A5 #FBF7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DB6E#FFFFFF#000000##000000
##F0DB6E1.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)
#EDD664
Deuteranopia (green-blind)
#F3DE73
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db6e;
/* rgb */ color: rgb(240, 219, 110);
/* oklch */ color: oklch(88.7% 0.132 98.6);
Tailwind
colors: {
  custom: {
    50: '#f7e59a',
    500: '#f0db6e',
    950: '#000000',
  },
}
SCSS
$custom: #f0db6e;
$custom-light: #f7e59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db6e",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 110
  },
  "hsl": {
    "h": 50.308,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88714,
    "c": 0.13152,
    "h": 98.6
  },
  "luminance": 0.70314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0DB6E

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

Preview Lab → · Contrast checker → · Palette generator →

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