#F2D96C#F2D96C

#F2D96C is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.132 H 96.6°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#F2D96C
RGBrgb(242, 217, 108)
HSLhsl(49, 84%, 69%)
HSVhsv(49, 55%, 95%)
CMYKcmyk(0%, 10.3%, 55.4%, 5.1%)
CIE-LABlab(86.79, -4.52, 56.02)
CIE-LCHlch(86.79, 56.20, 94.61°)
OKLaboklab(88.47% -0.0152 0.131)
OKLCHoklch(88.47% 0.132 96.6)
XYZxyz(64.1400, 69.5884, 24.2378)
Luminance0.6959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D96C #6C85F2
analogous
#F2966C #F2D96C #C8F26C
triadic
#F2D96C #6CF2D9 #D96CF2
tetradic
#F2D96C #6CF296 #6C85F2 #F26CC8
square
#F2D96C #6CF296 #6C85F2 #F26CC8
split-complementary
#F2D96C #6CC8F2 #966CF2
monochromatic
#D1AE12 #EDCA34 #F2D96C #F7E8A4 #FCF6DC

Accessibility & contrast

On white

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

On black

14.92
#F2D96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D96C
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D96C#FFFFFF#000000##000000
##F2D96C1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2d96c;
/* rgb */ color: rgb(242, 217, 108);
/* oklch */ color: oklch(88.5% 0.132 96.6);
Tailwind
colors: {
  custom: {
    50: '#f9e499',
    500: '#f2d96c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d96c;
$custom-light: #f9e499;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d96c",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 48.806,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88465,
    "c": 0.13187,
    "h": 96.6
  },
  "luminance": 0.69586
}

Semantic roles & 50–950 ramp

primary
#F2D96C
secondary
#3753CB
accent
#2EE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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