#F0DB5D#F0DB5D

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

Color values

HEX#F0DB5D
RGBrgb(240, 219, 93)
HSLhsl(51, 83%, 65%)
HSVhsv(51, 61%, 94%)
CMYKcmyk(0%, 8.8%, 61.2%, 5.9%)
CIE-LABlab(86.99, -7.40, 62.88)
CIE-LCHlch(86.99, 63.31, 96.71°)
OKLaboklab(88.53% -0.025 0.1439)
OKLCHoklch(88.53% 0.146 99.9)
XYZxyz(63.2450, 69.9813, 20.5302)
Luminance0.6998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB5D #5D72F0
analogous
#F0925D #F0DB5D #BBF05D
triadic
#F0DB5D #5DF0DB #DB5DF0
tetradic
#F0DB5D #5DF092 #5D72F0 #F05DBB
square
#F0DB5D #5DF092 #5D72F0 #F05DBB
split-complementary
#F0DB5D #5DBBF0 #925DF0
monochromatic
#C1A812 #EBCF25 #F0DB5D #F5E795 #FAF4CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0DB5D#FFFFFF#000000##000000
##F0DB5D1.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)
#EED54F
Deuteranopia (green-blind)
#F4DD64
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db5d;
/* rgb */ color: rgb(240, 219, 93);
/* oklch */ color: oklch(88.5% 0.146 99.9);
Tailwind
colors: {
  custom: {
    50: '#f8e590',
    500: '#f0db5d',
    950: '#000000',
  },
}
SCSS
$custom: #f0db5d;
$custom-light: #f8e590;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db5d",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 51.429,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8853,
    "c": 0.14608,
    "h": 99.9
  },
  "luminance": 0.69979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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