#F0D062#F0D062

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

Color values

HEX#F0D062
RGBrgb(240, 208, 98)
HSLhsl(46, 83%, 66%)
HSVhsv(46, 59%, 94%)
CMYKcmyk(0%, 13.3%, 59.2%, 5.9%)
CIE-LABlab(84.24, -1.48, 57.62)
CIE-LCHlch(84.24, 57.64, 91.47°)
OKLaboklab(86.37% -0.0075 0.1333)
OKLCHoklch(86.37% 0.134 93.2)
XYZxyz(60.6983, 64.5219, 20.8097)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D062 #6282F0
analogous
#F08962 #F0D062 #C9F062
triadic
#F0D062 #62F0D0 #D062F0
tetradic
#F0D062 #62F089 #6282F0 #F062C9
square
#F0D062 #62F089 #6282F0 #F062C9
split-complementary
#F0D062 #62C9F0 #8962F0
monochromatic
#C59D13 #EBBF2A #F0D062 #F5E19A #FBF1D2

Accessibility & contrast

On white

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

On black

13.90
#F0D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D062
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D062#FFFFFF#000000##000000
##F0D0621.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d062;
/* rgb */ color: rgb(240, 208, 98);
/* oklch */ color: oklch(86.4% 0.134 93.2);
Tailwind
colors: {
  custom: {
    50: '#f8de92',
    500: '#f0d062',
    950: '#000000',
  },
}
SCSS
$custom: #f0d062;
$custom-light: #f8de92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d062",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 46.479,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86368,
    "c": 0.13355,
    "h": 93.2
  },
  "luminance": 0.64519
}

Semantic roles & 50–950 ramp

primary
#F0D062
secondary
#3454C2
accent
#37DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D062

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

Preview Lab → · Contrast checker → · Palette generator →

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