#F2D96D#F2D96D

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

Color values

HEX#F2D96D
RGBrgb(242, 217, 109)
HSLhsl(49, 84%, 69%)
HSVhsv(49, 55%, 95%)
CMYKcmyk(0%, 10.3%, 55%, 5.1%)
CIE-LABlab(86.81, -4.44, 55.57)
CIE-LCHlch(86.81, 55.75, 94.57°)
OKLaboklab(88.48% -0.0149 0.1301)
OKLCHoklch(88.48% 0.131 96.5)
XYZxyz(64.1935, 69.6099, 24.5197)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D96D #6D86F2
analogous
#F2976D #F2D96D #C9F26D
triadic
#F2D96D #6DF2D9 #D96DF2
tetradic
#F2D96D #6DF297 #6D86F2 #F26DC9
square
#F2D96D #6DF297 #6D86F2 #F26DC9
split-complementary
#F2D96D #6DC9F2 #976DF2
monochromatic
#D2AE13 #EDCA35 #F2D96D #F7E8A5 #FCF6DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2D96D#FFFFFF#000000##000000
##F2D96D1.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)
#EBD563
Deuteranopia (green-blind)
#F2DD72
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d96d;
/* rgb */ color: rgb(242, 217, 109);
/* oklch */ color: oklch(88.5% 0.131 96.5);
Tailwind
colors: {
  custom: {
    50: '#f9e49a',
    500: '#f2d96d',
    950: '#000000',
  },
}
SCSS
$custom: #f2d96d;
$custom-light: #f9e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d96d",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 48.722,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88477,
    "c": 0.13097,
    "h": 96.5
  },
  "luminance": 0.69607
}

Semantic roles & 50–950 ramp

primary
#F2D96D
secondary
#3854CB
accent
#2FE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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