#F0D96A#F0D96A

#F0D96A is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.133 H 97.8°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F0D96A
RGBrgb(240, 217, 106)
HSLhsl(50, 82%, 68%)
HSVhsv(50, 56%, 94%)
CMYKcmyk(0%, 9.6%, 55.8%, 5.9%)
CIE-LABlab(86.60, -5.48, 56.67)
CIE-LCHlch(86.60, 56.94, 95.52°)
OKLaboklab(88.26% -0.0181 0.1322)
OKLCHoklch(88.26% 0.133 97.8)
XYZxyz(63.3519, 69.1943, 23.6517)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D96A #6A81F0
analogous
#F0966A #F0D96A #C4F06A
triadic
#F0D96A #6AF0D9 #D96AF0
tetradic
#F0D96A #6AF096 #6A81F0 #F06AC4
square
#F0D96A #6AF096 #6A81F0 #F06AC4
split-complementary
#F0D96A #6AC4F0 #966AF0
monochromatic
#CBAC14 #EACB32 #F0D96A #F6E7A2 #FBF5D9

Accessibility & contrast

On white

1.42
#F0D96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#F0D96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D96A
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D96A#FFFFFF#000000##000000
##F0D96A1.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45F
Deuteranopia (green-blind)
#F2DC6F
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0d96a;
/* rgb */ color: rgb(240, 217, 106);
/* oklch */ color: oklch(88.3% 0.133 97.8);
Tailwind
colors: {
  custom: {
    50: '#f8e498',
    500: '#f0d96a',
    950: '#000000',
  },
}
SCSS
$custom: #f0d96a;
$custom-light: #f8e498;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d96a",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 49.701,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88263,
    "c": 0.13345,
    "h": 97.8
  },
  "luminance": 0.69192
}

Semantic roles & 50–950 ramp

primary
#F0D96A
secondary
#364FC8
accent
#2CDE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D96A

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

Preview Lab → · Contrast checker → · Palette generator →

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