#F0DB6A#F0DB6A

#F0DB6A is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.135 H 98.9°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#F0DB6A
RGBrgb(240, 219, 106)
HSLhsl(51, 82%, 68%)
HSVhsv(51, 56%, 94%)
CMYKcmyk(0%, 8.8%, 55.8%, 5.9%)
CIE-LABlab(87.11, -6.49, 57.26)
CIE-LCHlch(87.11, 57.63, 96.47°)
OKLaboklab(88.67% -0.021 0.1335)
OKLCHoklch(88.67% 0.135 98.9)
XYZxyz(63.8705, 70.2315, 23.8246)
Luminance0.7023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB6A #6A7FF0
analogous
#F0986A #F0DB6A #C2F06A
triadic
#F0DB6A #6AF0DB #DB6AF0
tetradic
#F0DB6A #6AF098 #6A7FF0 #F06AC2
square
#F0DB6A #6AF098 #6A7FF0 #F06AC2
split-complementary
#F0DB6A #6AC2F0 #986AF0
monochromatic
#CBAF14 #EACE32 #F0DB6A #F6E8A2 #FBF6D9

Accessibility & contrast

On white

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

On black

15.05
#F0DB6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB6A
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB6A#FFFFFF#000000##000000
##F0DB6A1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0db6a;
/* rgb */ color: rgb(240, 219, 106);
/* oklch */ color: oklch(88.7% 0.135 98.9);
Tailwind
colors: {
  custom: {
    50: '#f8e598',
    500: '#f0db6a',
    950: '#000000',
  },
}
SCSS
$custom: #f0db6a;
$custom-light: #f8e598;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db6a",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 106
  },
  "hsl": {
    "h": 50.597,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88667,
    "c": 0.13512,
    "h": 98.9
  },
  "luminance": 0.70229
}

Semantic roles & 50–950 ramp

primary
#F0DB6A
secondary
#364DC8
accent
#29DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0DB6A

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

Preview Lab → · Contrast checker → · Palette generator →

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