#F0DB5E#F0DB5E

#F0DB5E is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.5% C 0.145 H 99.8°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#F0DB5E
RGBrgb(240, 219, 94)
HSLhsl(51, 83%, 65%)
HSVhsv(51, 61%, 94%)
CMYKcmyk(0%, 8.8%, 60.8%, 5.9%)
CIE-LABlab(87.00, -7.33, 62.46)
CIE-LCHlch(87.00, 62.89, 96.70°)
OKLaboklab(88.54% -0.0247 0.1432)
OKLCHoklch(88.54% 0.145 99.8)
XYZxyz(63.2896, 69.9991, 20.7649)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB5E #5E73F0
analogous
#F0925E #F0DB5E #BCF05E
triadic
#F0DB5E #5EF0DB #DB5EF0
tetradic
#F0DB5E #5EF092 #5E73F0 #F05EBC
square
#F0DB5E #5EF092 #5E73F0 #F05EBC
split-complementary
#F0DB5E #5EBCF0 #925EF0
monochromatic
#C2A812 #EBCE26 #F0DB5E #F5E896 #FAF4CE

Accessibility & contrast

On white

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

On black

15.00
#F0DB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB5E
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB5E#FFFFFF#000000##000000
##F0DB5E1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED550
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db5e;
/* rgb */ color: rgb(240, 219, 94);
/* oklch */ color: oklch(88.5% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#f8e590',
    500: '#f0db5e',
    950: '#000000',
  },
}
SCSS
$custom: #f0db5e;
$custom-light: #f8e590;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db5e",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 94
  },
  "hsl": {
    "h": 51.37,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.8854,
    "c": 0.14528,
    "h": 99.8
  },
  "luminance": 0.69996
}

Semantic roles & 50–950 ramp

primary
#F0DB5E
secondary
#3347BF
accent
#25DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0DB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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