#F0D063#F0D063

#F0D063 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.4% C 0.133 H 93.1°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#F0D063
RGBrgb(240, 208, 99)
HSLhsl(46, 82%, 66%)
HSVhsv(46, 59%, 94%)
CMYKcmyk(0%, 13.3%, 58.8%, 5.9%)
CIE-LABlab(84.25, -1.41, 57.18)
CIE-LCHlch(84.25, 57.19, 91.41°)
OKLaboklab(86.38% -0.0071 0.1325)
OKLCHoklch(86.38% 0.133 93.1)
XYZxyz(60.7458, 64.5409, 21.0599)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D063 #6383F0
analogous
#F08A63 #F0D063 #CAF063
triadic
#F0D063 #63F0D0 #D063F0
tetradic
#F0D063 #63F08A #6383F0 #F063CA
square
#F0D063 #63F08A #6383F0 #F063CA
split-complementary
#F0D063 #63CAF0 #8A63F0
monochromatic
#C69D13 #EBBF2B #F0D063 #F5E19B #FBF2D3

Accessibility & contrast

On white

1.51
#F0D063 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#F0D063 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D063
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D063#FFFFFF#000000##000000
##F0D0631.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD58
Deuteranopia (green-blind)
#EBD668
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d063;
/* rgb */ color: rgb(240, 208, 99);
/* oklch */ color: oklch(86.4% 0.133 93.1);
Tailwind
colors: {
  custom: {
    50: '#f8de93',
    500: '#f0d063',
    950: '#000000',
  },
}
SCSS
$custom: #f0d063;
$custom-light: #f8de93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d063",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 99
  },
  "hsl": {
    "h": 46.383,
    "s": 82.456,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86379,
    "c": 0.1327,
    "h": 93.1
  },
  "luminance": 0.64538
}

Semantic roles & 50–950 ramp

primary
#F0D063
secondary
#3455C3
accent
#38DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D063

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

Preview Lab → · Contrast checker → · Palette generator →

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