#F0D56A#F0D56A

#F0D56A is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.130 H 95.4°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#F0D56A
RGBrgb(240, 213, 106)
HSLhsl(48, 82%, 68%)
HSVhsv(48, 56%, 94%)
CMYKcmyk(0%, 11.2%, 55.8%, 5.9%)
CIE-LABlab(85.58, -3.45, 55.50)
CIE-LCHlch(85.58, 55.60, 93.56°)
OKLaboklab(87.46% -0.0122 0.1297)
OKLCHoklch(87.46% 0.13 95.4)
XYZxyz(62.3334, 67.1572, 23.3122)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D56A #6A85F0
analogous
#F0926A #F0D56A #C8F06A
triadic
#F0D56A #6AF0D5 #D56AF0
tetradic
#F0D56A #6AF092 #6A85F0 #F06AC8
square
#F0D56A #6AF092 #6A85F0 #F06AC8
split-complementary
#F0D56A #6AC8F0 #926AF0
monochromatic
#CBA614 #EAC532 #F0D56A #F6E5A2 #FBF4D9

Accessibility & contrast

On white

1.46
#F0D56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#F0D56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D56A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D56A#FFFFFF#000000##000000
##F0D56A1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D160
Deuteranopia (green-blind)
#EFDA6F
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d56a;
/* rgb */ color: rgb(240, 213, 106);
/* oklch */ color: oklch(87.5% 0.130 95.4);
Tailwind
colors: {
  custom: {
    50: '#f8e198',
    500: '#f0d56a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d56a;
$custom-light: #f8e198;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d56a",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 106
  },
  "hsl": {
    "h": 47.91,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87458,
    "c": 0.13026,
    "h": 95.4
  },
  "luminance": 0.67154
}

Semantic roles & 50–950 ramp

primary
#F0D56A
secondary
#3654C8
accent
#33DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D56A

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

Preview Lab → · Contrast checker → · Palette generator →

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