#F0D061#F0D061

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

Color values

HEX#F0D061
RGBrgb(240, 208, 97)
HSLhsl(47, 83%, 66%)
HSVhsv(47, 60%, 94%)
CMYKcmyk(0%, 13.3%, 59.6%, 5.9%)
CIE-LABlab(84.23, -1.55, 58.06)
CIE-LCHlch(84.23, 58.08, 91.53°)
OKLaboklab(86.36% -0.0078 0.1342)
OKLCHoklch(86.36% 0.134 93.3)
XYZxyz(60.6514, 64.5031, 20.5626)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D061 #6181F0
analogous
#F08861 #F0D061 #C9F061
triadic
#F0D061 #61F0D0 #D061F0
tetradic
#F0D061 #61F088 #6181F0 #F061C9
square
#F0D061 #61F088 #6181F0 #F061C9
split-complementary
#F0D061 #61C9F0 #8861F0
monochromatic
#C49C13 #EBBF29 #F0D061 #F5E199 #FBF1D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0D061#FFFFFF#000000##000000
##F0D0611.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)
#E4CD56
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d061;
/* rgb */ color: rgb(240, 208, 97);
/* oklch */ color: oklch(86.4% 0.134 93.3);
Tailwind
colors: {
  custom: {
    50: '#f8de92',
    500: '#f0d061',
    950: '#000000',
  },
}
SCSS
$custom: #f0d061;
$custom-light: #f8de92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d061",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 97
  },
  "hsl": {
    "h": 46.573,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86357,
    "c": 0.13439,
    "h": 93.3
  },
  "luminance": 0.645
}

Semantic roles & 50–950 ramp

primary
#F0D061
secondary
#3453C2
accent
#37DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D061

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

Preview Lab → · Contrast checker → · Palette generator →

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