#F0D96C#F0D96C

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

Color values

HEX#F0D96C
RGBrgb(240, 217, 108)
HSLhsl(50, 81%, 68%)
HSVhsv(50, 55%, 94%)
CMYKcmyk(0%, 9.6%, 55%, 5.9%)
CIE-LABlab(86.62, -5.33, 55.78)
CIE-LCHlch(86.62, 56.03, 95.46°)
OKLaboklab(88.29% -0.0174 0.1305)
OKLCHoklch(88.29% 0.132 97.6)
XYZxyz(63.4571, 69.2363, 24.2058)
Luminance0.6923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D96C #6C83F0
analogous
#F0976C #F0D96C #C5F06C
triadic
#F0D96C #6CF0D9 #D96CF0
tetradic
#F0D96C #6CF097 #6C83F0 #F06CC5
square
#F0D96C #6CF097 #6C83F0 #F06CC5
split-complementary
#F0D96C #6CC5F0 #976CF0
monochromatic
#CDAD15 #EACB34 #F0D96C #F6E7A4 #FBF6DB

Accessibility & contrast

On white

1.41
#F0D96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#F0D96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D96C
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D96C#FFFFFF#000000##000000
##F0D96C1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d96c;
/* rgb */ color: rgb(240, 217, 108);
/* oklch */ color: oklch(88.3% 0.132 97.6);
Tailwind
colors: {
  custom: {
    50: '#f8e499',
    500: '#f0d96c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d96c;
$custom-light: #f8e499;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d96c",
  "rgb": {
    "r": 240,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 49.545,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88286,
    "c": 0.13165,
    "h": 97.6
  },
  "luminance": 0.69234
}

Semantic roles & 50–950 ramp

primary
#F0D96C
secondary
#3851C8
accent
#2DDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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