#F0D06E#F0D06E

#F0D06E is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.123 H 91.6°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#F0D06E
RGBrgb(240, 208, 110)
HSLhsl(45, 81%, 69%)
HSVhsv(45, 54%, 94%)
CMYKcmyk(0%, 13.3%, 54.2%, 5.9%)
CIE-LABlab(84.36, -0.59, 52.19)
CIE-LCHlch(84.36, 52.20, 90.64°)
OKLaboklab(86.51% -0.0035 0.1229)
OKLCHoklch(86.51% 0.123 91.6)
XYZxyz(61.3080, 64.7658, 24.0206)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D06E #6E8EF0
analogous
#F08F6E #F0D06E #CFF06E
triadic
#F0D06E #6EF0D0 #D06EF0
tetradic
#F0D06E #6EF08F #6E8EF0 #F06ECF
square
#F0D06E #6EF08F #6E8EF0 #F06ECF
split-complementary
#F0D06E #6ECFF0 #8F6EF0
monochromatic
#CEA115 #EABE37 #F0D06E #F6E2A5 #FBF4DD

Accessibility & contrast

On white

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

On black

13.95
#F0D06E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D06E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D06E#FFFFFF#000000##000000
##F0D06E1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD65
Deuteranopia (green-blind)
#EBD672
Tritanopia (blue-blind)
#FFC2B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0d06e;
/* rgb */ color: rgb(240, 208, 110);
/* oklch */ color: oklch(86.5% 0.123 91.6);
Tailwind
colors: {
  custom: {
    50: '#f8de9a',
    500: '#f0d06e',
    950: '#000000',
  },
}
SCSS
$custom: #f0d06e;
$custom-light: #f8de9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d06e",
  "rgb": {
    "r": 240,
    "g": 208,
    "b": 110
  },
  "hsl": {
    "h": 45.231,
    "s": 81.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86508,
    "c": 0.12296,
    "h": 91.6
  },
  "luminance": 0.64763
}

Semantic roles & 50–950 ramp

primary
#F0D06E
secondary
#395DC9
accent
#3CDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D06E

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

Preview Lab → · Contrast checker → · Palette generator →

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